#1D2F08#1D2F08

#1D2F08 is a dark, moderate yellow-green. Relative luminance 0.023; OKLCH L 28.0% C 0.065 H 131.0°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#1D2F08
RGBrgb(29, 47, 8)
HSLhsl(88, 71%, 11%)
HSVhsv(88, 83%, 18%)
CMYKcmyk(38.3%, 0%, 83%, 81.6%)
CIE-LABlab(17.04, -15.18, 20.90)
CIE-LCHlch(17.04, 25.83, 125.99°)
OKLaboklab(27.97% -0.0429 0.0494)
OKLCHoklch(27.97% 0.065 131)
XYZxyz(1.5670, 2.3117, 0.5933)
Luminance0.0231 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2F08 #1A082F
analogous
#2F2D08 #1D2F08 #092F08
triadic
#1D2F08 #081D2F #2F081D
tetradic
#1D2F08 #082F2D #1A082F #2F0809
square
#1D2F08 #082F2D #1A082F #2F0809
split-complementary
#1D2F08 #08092F #2D082F
monochromatic
#101A04 #101A04 #1D2F08 #3D6311 #5E981A

Accessibility & contrast

On white

14.36
#1D2F08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D2F08
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2F08#FFFFFF#000000##FFFFFF
##1D2F081.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B04
Deuteranopia (green-blind)
#2F2A0B
Tritanopia (blue-blind)
#1E2D27
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1d2f08;
/* rgb */ color: rgb(29, 47, 8);
/* oklch */ color: oklch(28.0% 0.065 131.0);
Tailwind
colors: {
  custom: {
    50: '#5a674b',
    500: '#1d2f08',
    950: '#000000',
  },
}
SCSS
$custom: #1d2f08;
$custom-light: #5a674b;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2f08",
  "rgb": {
    "r": 29,
    "g": 47,
    "b": 8
  },
  "hsl": {
    "h": 87.692,
    "s": 70.909,
    "l": 10.784
  },
  "oklch": {
    "l": 0.27974,
    "c": 0.06538,
    "h": 131
  },
  "luminance": 0.02312
}

Semantic roles & 50–950 ramp

primary
#1D2F08
secondary
#47256E
accent
#3AEE8D
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #1D2F08

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

Preview Lab → · Contrast checker → · Palette generator →

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