#1D2B02#1D2B02

#1D2B02 is a dark, moderate yellow-green. Relative luminance 0.020; OKLCH L 26.7% C 0.066 H 126.8°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#1D2B02
RGBrgb(29, 43, 2)
HSLhsl(80, 91%, 9%)
HSVhsv(80, 95%, 17%)
CMYKcmyk(32.6%, 0%, 95.3%, 83.1%)
CIE-LABlab(15.45, -13.55, 21.36)
CIE-LCHlch(15.45, 25.29, 122.39°)
OKLaboklab(26.66% -0.0393 0.0525)
OKLCHoklch(26.66% 0.066 126.8)
XYZxyz(1.3815, 1.9933, 0.3694)
Luminance0.0199 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2B02 #10022B
analogous
#2B2502 #1D2B02 #092B02
triadic
#1D2B02 #021D2B #2B021D
tetradic
#1D2B02 #022B25 #10022B #2B0209
square
#1D2B02 #022B25 #10022B #2B0209
split-complementary
#1D2B02 #02092B #25022B
monochromatic
#141D01 #141D01 #1D2B02 #446505 #6CA007

Accessibility & contrast

On white

15.02
#1D2B02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#1D2B02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2B02
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2B02#FFFFFF#000000##FFFFFF
##1D2B021.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2700
Deuteranopia (green-blind)
#2C2605
Tritanopia (blue-blind)
#1F2823
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1d2b02;
/* rgb */ color: rgb(29, 43, 2);
/* oklch */ color: oklch(26.7% 0.066 126.8);
Tailwind
colors: {
  custom: {
    50: '#5a6447',
    500: '#1d2b02',
    950: '#000000',
  },
}
SCSS
$custom: #1d2b02;
$custom-light: #5a6447;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2b02",
  "rgb": {
    "r": 29,
    "g": 43,
    "b": 2
  },
  "hsl": {
    "h": 80.488,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.26657,
    "c": 0.06561,
    "h": 126.8
  },
  "luminance": 0.01993
}

Semantic roles & 50–950 ramp

primary
#1D2B02
secondary
#371970
accent
#29FF72
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#040500
muted
#797A77

Preview Lab

Preview with #1D2B02

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

Preview Lab → · Contrast checker → · Palette generator →

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