#1E2F09#1E2F09

#1E2F09 is a dark, moderate yellow-green. Relative luminance 0.023; OKLCH L 28.1% C 0.064 H 130.3°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#1E2F09
RGBrgb(30, 47, 9)
HSLhsl(87, 68%, 11%)
HSVhsv(87, 81%, 18%)
CMYKcmyk(36.2%, 0%, 80.9%, 81.6%)
CIE-LABlab(17.13, -14.61, 20.61)
CIE-LCHlch(17.13, 25.26, 125.33°)
OKLaboklab(28.06% -0.0413 0.0486)
OKLCHoklch(28.06% 0.064 130.3)
XYZxyz(1.6012, 2.3287, 0.6235)
Luminance0.0233 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2F09 #1A092F
analogous
#2F2D09 #1E2F09 #0B2F09
triadic
#1E2F09 #091E2F #2F091E
tetradic
#1E2F09 #092F2D #1A092F #2F090B
square
#1E2F09 #092F2D #1A092F #2F090B
split-complementary
#1E2F09 #090B2F #2D092F
monochromatic
#101A05 #101A05 #1E2F09 #3F6213 #60961D

Accessibility & contrast

On white

14.33
#1E2F09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#1E2F09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2F09
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2F09#FFFFFF#000000##FFFFFF
##1E2F091.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B05
Deuteranopia (green-blind)
#2F2A0C
Tritanopia (blue-blind)
#1F2D27
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1e2f09;
/* rgb */ color: rgb(30, 47, 9);
/* oklch */ color: oklch(28.1% 0.064 130.3);
Tailwind
colors: {
  custom: {
    50: '#5b674b',
    500: '#1e2f09',
    950: '#000000',
  },
}
SCSS
$custom: #1e2f09;
$custom-light: #5b674b;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2f09",
  "rgb": {
    "r": 30,
    "g": 47,
    "b": 9
  },
  "hsl": {
    "h": 86.842,
    "s": 67.857,
    "l": 10.98
  },
  "oklch": {
    "l": 0.28061,
    "c": 0.06375,
    "h": 130.3
  },
  "luminance": 0.02329
}

Semantic roles & 50–950 ramp

primary
#1E2F09
secondary
#46276D
accent
#3DEB8B
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #1E2F09

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

Preview Lab → · Contrast checker → · Palette generator →

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