#1E2D02#1E2D02

#1E2D02 is a dark, moderate yellow-green. Relative luminance 0.022; OKLCH L 27.4% C 0.068 H 127.2°. Best body text is #FFFFFF at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#1E2D02
RGBrgb(30, 45, 2)
HSLhsl(81, 91%, 9%)
HSVhsv(81, 96%, 18%)
CMYKcmyk(33.3%, 0%, 95.6%, 82.4%)
CIE-LABlab(16.29, -14.19, 22.43)
CIE-LCHlch(16.29, 26.54, 122.33°)
OKLaboklab(27.36% -0.0411 0.0541)
OKLCHoklch(27.36% 0.068 127.2)
XYZxyz(1.4848, 2.1571, 0.3956)
Luminance0.0216 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2D02 #11022D
analogous
#2D2702 #1E2D02 #092D02
triadic
#1E2D02 #021E2D #2D021E
tetradic
#1E2D02 #022D27 #11022D #2D0209
square
#1E2D02 #022D27 #11022D #2D0209
split-complementary
#1E2D02 #02092D #27022D
monochromatic
#141D01 #141D01 #1E2D02 #456805 #6CA207

Accessibility & contrast

On white

14.67
#1E2D02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#1E2D02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2D02
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2D02#FFFFFF#000000##FFFFFF
##1E2D021.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302900
Deuteranopia (green-blind)
#2E2805
Tritanopia (blue-blind)
#202A25
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1e2d02;
/* rgb */ color: rgb(30, 45, 2);
/* oklch */ color: oklch(27.4% 0.068 127.2);
Tailwind
colors: {
  custom: {
    50: '#5b6648',
    500: '#1e2d02',
    950: '#000000',
  },
}
SCSS
$custom: #1e2d02;
$custom-light: #5b6648;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2d02",
  "rgb": {
    "r": 30,
    "g": 45,
    "b": 2
  },
  "hsl": {
    "h": 80.93,
    "s": 91.489,
    "l": 9.216
  },
  "oklch": {
    "l": 0.27359,
    "c": 0.06796,
    "h": 127.2
  },
  "luminance": 0.02157
}

Semantic roles & 50–950 ramp

primary
#1E2D02
secondary
#381972
accent
#29FF74
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#040500
muted
#797A77

Preview Lab

Preview with #1E2D02

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

Preview Lab → · Contrast checker → · Palette generator →

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