#1D2D02#1D2D02

#1D2D02 is a dark, moderate yellow-green. Relative luminance 0.021; OKLCH L 27.3% C 0.069 H 128.2°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#1D2D02
RGBrgb(29, 45, 2)
HSLhsl(82, 91%, 9%)
HSVhsv(82, 96%, 18%)
CMYKcmyk(35.6%, 0%, 95.6%, 82.4%)
CIE-LABlab(16.22, -14.69, 22.32)
CIE-LCHlch(16.22, 26.72, 123.35°)
OKLaboklab(27.28% -0.0424 0.0539)
OKLCHoklch(27.28% 0.069 128.2)
XYZxyz(1.4560, 2.1423, 0.3942)
Luminance0.0214 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2D02 #12022D
analogous
#2D2802 #1D2D02 #082D02
triadic
#1D2D02 #021D2D #2D021D
tetradic
#1D2D02 #022D28 #12022D #2D0208
square
#1D2D02 #022D28 #12022D #2D0208
split-complementary
#1D2D02 #02082D #28022D
monochromatic
#131D01 #131D01 #1D2D02 #436805 #69A207

Accessibility & contrast

On white

14.70
#1D2D02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D2D02
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2D02#FFFFFF#000000##FFFFFF
##1D2D021.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d2d02;
/* rgb */ color: rgb(29, 45, 2);
/* oklch */ color: oklch(27.3% 0.069 128.2);
Tailwind
colors: {
  custom: {
    50: '#5a6648',
    500: '#1d2d02',
    950: '#000000',
  },
}
SCSS
$custom: #1d2d02;
$custom-light: #5a6648;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2d02",
  "rgb": {
    "r": 29,
    "g": 45,
    "b": 2
  },
  "hsl": {
    "h": 82.326,
    "s": 91.489,
    "l": 9.216
  },
  "oklch": {
    "l": 0.27279,
    "c": 0.0686,
    "h": 128.2
  },
  "luminance": 0.02142
}

Semantic roles & 50–950 ramp

primary
#1D2D02
secondary
#3A1972
accent
#29FF79
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#040500
muted
#797A77

Preview Lab

Preview with #1D2D02

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

Preview Lab → · Contrast checker → · Palette generator →

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