#1E240C#1E240C

#1E240C is a very dark, muted yellow-green. Relative luminance 0.016; OKLCH L 24.7% C 0.041 H 121.1°. Best body text is #FFFFFF at 16.00:1 contrast (WCAG AA passes).

Color values

HEX#1E240C
RGBrgb(30, 36, 12)
HSLhsl(75, 50%, 9%)
HSVhsv(75, 67%, 14%)
CMYKcmyk(16.7%, 0%, 66.7%, 85.9%)
CIE-LABlab(13.01, -7.57, 14.07)
CIE-LCHlch(13.01, 15.98, 118.30°)
OKLaboklab(24.75% -0.0214 0.0355)
OKLCHoklch(24.75% 0.041 121.1)
XYZxyz(1.2327, 1.5643, 0.5848)
Luminance0.0156 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E240C #120C24
analogous
#241E0C #1E240C #12240C
triadic
#1E240C #0C1E24 #240C1E
tetradic
#1E240C #0C241E #120C24 #240C12
square
#1E240C #0C241E #120C24 #240C12
split-complementary
#1E240C #0C1224 #1E0C24
monochromatic
#131708 #131708 #1E240C #44521B #6B802B

Accessibility & contrast

On white

16.00
#1E240C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#1E240C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E240C
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E240C#FFFFFF#000000##FFFFFF
##1E240C1.0016.001.3116.00
#FFFFFF16.001.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26220A
Deuteranopia (green-blind)
#26220D
Tritanopia (blue-blind)
#20221F
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1e240c;
/* rgb */ color: rgb(30, 36, 12);
/* oklch */ color: oklch(24.7% 0.041 121.1);
Tailwind
colors: {
  custom: {
    50: '#5a5e4c',
    500: '#1e240c',
    950: '#000000',
  },
}
SCSS
$custom: #1e240c;
$custom-light: #5a5e4c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e240c",
  "rgb": {
    "r": 30,
    "g": 36,
    "b": 12
  },
  "hsl": {
    "h": 75,
    "s": 50,
    "l": 9.412
  },
  "oklch": {
    "l": 0.24747,
    "c": 0.04147,
    "h": 121.1
  },
  "luminance": 0.01564
}

Semantic roles & 50–950 ramp

primary
#1E240C
secondary
#3A2D5E
accent
#4EDA71
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#040401
muted
#797977

Preview Lab

Preview with #1E240C

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#1E240C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva