#1D2F0B#1D2F0B

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

Color values

HEX#1D2F0B
RGBrgb(29, 47, 11)
HSLhsl(90, 62%, 11%)
HSVhsv(90, 77%, 18%)
CMYKcmyk(38.3%, 0%, 76.6%, 81.6%)
CIE-LABlab(17.08, -14.87, 19.71)
CIE-LCHlch(17.08, 24.68, 127.03°)
OKLaboklab(28.01% -0.0417 0.0465)
OKLCHoklch(28.01% 0.062 131.9)
XYZxyz(1.5836, 2.3183, 0.6806)
Luminance0.0232 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2F0B #1D0B2F
analogous
#2F2F0B #1D2F0B #0B2F0B
triadic
#1D2F0B #0B1D2F #2F0B1D
tetradic
#1D2F0B #0B2F2F #1D0B2F #2F0B0B
square
#1D2F0B #0B2F2F #1D0B2F #2F0B0B
split-complementary
#1D2F0B #0B0B2F #2F0B2F
monochromatic
#0F1906 #0F1906 #1D2F0B #3C6117 #5A9222

Accessibility & contrast

On white

14.35
#1D2F0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D2F0B
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2F0B#FFFFFF#000000##FFFFFF
##1D2F0B1.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d2f0b;
/* rgb */ color: rgb(29, 47, 11);
/* oklch */ color: oklch(28.0% 0.062 131.9);
Tailwind
colors: {
  custom: {
    50: '#5a674c',
    500: '#1d2f0b',
    950: '#000000',
  },
}
SCSS
$custom: #1d2f0b;
$custom-light: #5a674c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2f0b",
  "rgb": {
    "r": 29,
    "g": 47,
    "b": 11
  },
  "hsl": {
    "h": 90,
    "s": 62.069,
    "l": 11.373
  },
  "oklch": {
    "l": 0.28009,
    "c": 0.06247,
    "h": 131.9
  },
  "luminance": 0.02318
}

Semantic roles & 50–950 ramp

primary
#1D2F0B
secondary
#4B2A6B
accent
#43E594
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #1D2F0B

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

Preview Lab → · Contrast checker → · Palette generator →

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