#31500A

A color in the Green family

#31500a is a color in the Green family: RGB(49, 80, 10), HSL(87°, 78%, 18%), CMYK(39%, 0%, 88%, 69%). Closest named color: darkgreen. Contrast is 9.2:1 on white and 2.28:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#31500a
RGBrgb(49 80 10)
RGB (legacy)rgb(49, 80, 10)
RGB %rgb(19% 31% 4%)
HSLhsl(87 78% 18%)
HSV / HSBhsv(87, 88%, 31%)
HWBhwb(87 4% 69%)
CMYKcmyk(39%, 0%, 88%, 69%)
CIELAB (D50)lab(30.53 -20.9 33.7)
LCHlch(30.53 39.66 121.81)
OKLaboklab(0.3924 -0.0667 0.0755)
OKLCHoklch(0.3924 0.1008 131.46)
Decimal3231754

Properties

Color ToneGreen
Closest named colordarkgreen ΔE 6.9
Closest web-safe color#336600
Hue87°
Saturation (HSL / HSV)78% / 88%
Lightness (HSL)18%
Brightness or Value (HSV)31%
Luminance (Rec.601 / Rec.709)25% / 27%
Relative luminance (WCAG)0.0641
Red / Green / Blue49 / 80 / 10

WCAG 2.2 Contrast Ratio

On White (#ffffff)
9.20:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.28:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 91 / -11.3 · As background with white / black text: Lc -95.4 / 12.9

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #31500a;
  --color-brand-oklch: oklch(39.24% 0.1008 131.46);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(49 80 10 / 50%); }
/* Tailwind CSS */
<div class="bg-[#31500a] text-[#31500a] border-[#31500a]">