#1D2F03#1D2F03

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

Color values

HEX#1D2F03
RGBrgb(29, 47, 3)
HSLhsl(85, 88%, 10%)
HSVhsv(85, 94%, 18%)
CMYKcmyk(38.3%, 0%, 93.6%, 81.6%)
CIE-LABlab(16.99, -15.70, 22.87)
CIE-LCHlch(16.99, 27.74, 124.46°)
OKLaboklab(27.91% -0.0449 0.0543)
OKLCHoklch(27.91% 0.071 129.6)
XYZxyz(1.5396, 2.3008, 0.4491)
Luminance0.0230 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2F03 #15032F
analogous
#2F2B03 #1D2F03 #072F03
triadic
#1D2F03 #031D2F #2F031D
tetradic
#1D2F03 #032F2B #15032F #2F0307
square
#1D2F03 #032F2B #15032F #2F0307
split-complementary
#1D2F03 #03072F #2B032F
monochromatic
#121D02 #121D02 #1D2F03 #406907 #64A20A

Accessibility & contrast

On white

14.38
#1D2F03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D2F03
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2F03#FFFFFF#000000##FFFFFF
##1D2F031.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d2f03;
/* rgb */ color: rgb(29, 47, 3);
/* oklch */ color: oklch(27.9% 0.070 129.6);
Tailwind
colors: {
  custom: {
    50: '#5b6748',
    500: '#1d2f03',
    950: '#000000',
  },
}
SCSS
$custom: #1d2f03;
$custom-light: #5b6748;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2f03",
  "rgb": {
    "r": 29,
    "g": 47,
    "b": 3
  },
  "hsl": {
    "h": 84.545,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.27914,
    "c": 0.0705,
    "h": 129.6
  },
  "luminance": 0.02301
}

Semantic roles & 50–950 ramp

primary
#1D2F03
secondary
#3F1B73
accent
#2AFE81
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#040600
muted
#797A77

Preview Lab

Preview with #1D2F03

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

Preview Lab → · Contrast checker → · Palette generator →

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