#1E2902#1E2902

#1E2902 is a dark, moderate yellow-green. Relative luminance 0.019; OKLCH L 26.1% C 0.062 H 124.2°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#1E2902
RGBrgb(30, 41, 2)
HSLhsl(77, 91%, 8%)
HSVhsv(77, 95%, 16%)
CMYKcmyk(26.8%, 0%, 95.1%, 83.9%)
CIE-LABlab(14.77, -11.86, 20.50)
CIE-LCHlch(14.77, 23.68, 120.05°)
OKLaboklab(26.12% -0.0348 0.0513)
OKLCHoklch(26.12% 0.062 124.2)
XYZxyz(1.3393, 1.8663, 0.3471)
Luminance0.0187 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2902 #0D0229
analogous
#292002 #1E2902 #0A2902
triadic
#1E2902 #021E29 #29021E
tetradic
#1E2902 #022920 #0D0229 #29020A
square
#1E2902 #022920 #0D0229 #29020A
split-complementary
#1E2902 #020A29 #200229
monochromatic
#151D01 #151D01 #1E2902 #496305 #739E08

Accessibility & contrast

On white

15.29
#1E2902 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#1E2902 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2902
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2902#FFFFFF#000000##FFFFFF
##1E29021.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2600
Deuteranopia (green-blind)
#2B2505
Tritanopia (blue-blind)
#202621
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1e2902;
/* rgb */ color: rgb(30, 41, 2);
/* oklch */ color: oklch(26.1% 0.062 124.2);
Tailwind
colors: {
  custom: {
    50: '#5a6247',
    500: '#1e2902',
    950: '#000000',
  },
}
SCSS
$custom: #1e2902;
$custom-light: #5a6247;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2902",
  "rgb": {
    "r": 30,
    "g": 41,
    "b": 2
  },
  "hsl": {
    "h": 76.923,
    "s": 90.698,
    "l": 8.431
  },
  "oklch": {
    "l": 0.26124,
    "c": 0.06199,
    "h": 124.2
  },
  "luminance": 0.01866
}

Semantic roles & 50–950 ramp

primary
#1E2902
secondary
#31196E
accent
#29FF65
background
#F5F5F4
surface
#E9EAE6
border
#C5C6C2
text
#040500
muted
#797977

Preview Lab

Preview with #1E2902

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

Preview Lab → · Contrast checker → · Palette generator →

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