#1D2E02#1D2E02

#1D2E02 is a dark, moderate yellow-green. Relative luminance 0.022; OKLCH L 27.6% C 0.070 H 128.8°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#1D2E02
RGBrgb(29, 46, 2)
HSLhsl(83, 92%, 9%)
HSVhsv(83, 96%, 18%)
CMYKcmyk(37%, 0%, 95.7%, 82%)
CIE-LABlab(16.60, -15.25, 22.80)
CIE-LCHlch(16.60, 27.43, 123.78°)
OKLaboklab(27.59% -0.0439 0.0546)
OKLCHoklch(27.59% 0.07 128.8)
XYZxyz(1.4946, 2.2195, 0.4071)
Luminance0.0222 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2E02 #13022E
analogous
#2E2902 #1D2E02 #072E02
triadic
#1D2E02 #021D2E #2E021D
tetradic
#1D2E02 #022E29 #13022E #2E0207
square
#1D2E02 #022E29 #13022E #2E0207
split-complementary
#1D2E02 #02072E #29022E
monochromatic
#121D01 #121D01 #1D2E02 #426905 #67A307

Accessibility & contrast

On white

14.54
#1D2E02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#1D2E02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2E02
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2E02#FFFFFF#000000##FFFFFF
##1D2E021.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A00
Deuteranopia (green-blind)
#2F2905
Tritanopia (blue-blind)
#1E2B26
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1d2e02;
/* rgb */ color: rgb(29, 46, 2);
/* oklch */ color: oklch(27.6% 0.070 128.8);
Tailwind
colors: {
  custom: {
    50: '#5a6648',
    500: '#1d2e02',
    950: '#000000',
  },
}
SCSS
$custom: #1d2e02;
$custom-light: #5a6648;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2e02",
  "rgb": {
    "r": 29,
    "g": 46,
    "b": 2
  },
  "hsl": {
    "h": 83.182,
    "s": 91.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.27591,
    "c": 0.07009,
    "h": 128.8
  },
  "luminance": 0.0222
}

Semantic roles & 50–950 ramp

primary
#1D2E02
secondary
#3C1973
accent
#29FF7C
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#040600
muted
#797A77

Preview Lab

Preview with #1D2E02

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

Preview Lab → · Contrast checker → · Palette generator →

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