#1D2F02#1D2F02

#1D2F02 is a dark, moderate yellow-green. Relative luminance 0.023; OKLCH L 27.9% C 0.072 H 129.4°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#1D2F02
RGBrgb(29, 47, 2)
HSLhsl(84, 92%, 10%)
HSVhsv(84, 96%, 18%)
CMYKcmyk(38.3%, 0%, 95.7%, 81.6%)
CIE-LABlab(16.98, -15.80, 23.27)
CIE-LCHlch(16.98, 28.13, 124.18°)
OKLaboklab(27.9% -0.0454 0.0553)
OKLCHoklch(27.9% 0.072 129.4)
XYZxyz(1.5342, 2.2986, 0.4203)
Luminance0.0230 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2F02 #14022F
analogous
#2F2B02 #1D2F02 #072F02
triadic
#1D2F02 #021D2F #2F021D
tetradic
#1D2F02 #022F2B #14022F #2F0207
square
#1D2F02 #022F2B #14022F #2F0207
split-complementary
#1D2F02 #02072F #2B022F
monochromatic
#121D01 #121D01 #1D2F02 #416A04 #65A407

Accessibility & contrast

On white

14.39
#1D2F02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#1D2F02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2F02
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2F02#FFFFFF#000000##FFFFFF
##1D2F021.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B00
Deuteranopia (green-blind)
#2F2905
Tritanopia (blue-blind)
#1E2C27
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1d2f02;
/* rgb */ color: rgb(29, 47, 2);
/* oklch */ color: oklch(27.9% 0.072 129.4);
Tailwind
colors: {
  custom: {
    50: '#5b6748',
    500: '#1d2f02',
    950: '#000000',
  },
}
SCSS
$custom: #1d2f02;
$custom-light: #5b6748;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2f02",
  "rgb": {
    "r": 29,
    "g": 47,
    "b": 2
  },
  "hsl": {
    "h": 84,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.27902,
    "c": 0.07157,
    "h": 129.4
  },
  "luminance": 0.02299
}

Semantic roles & 50–950 ramp

primary
#1D2F02
secondary
#3D1974
accent
#29FF7E
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#040600
muted
#797A77

Preview Lab

Preview with #1D2F02

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

Preview Lab → · Contrast checker → · Palette generator →

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