#1D2F0A#1D2F0A

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

Color values

HEX#1D2F0A
RGBrgb(29, 47, 10)
HSLhsl(89, 65%, 11%)
HSVhsv(89, 79%, 18%)
CMYKcmyk(38.3%, 0%, 78.7%, 81.6%)
CIE-LABlab(17.07, -14.97, 20.11)
CIE-LCHlch(17.07, 25.07, 126.66°)
OKLaboklab(28% -0.0421 0.0475)
OKLCHoklch(28% 0.063 131.6)
XYZxyz(1.5780, 2.3161, 0.6510)
Luminance0.0232 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2F0A #1C0A2F
analogous
#2F2E0A #1D2F0A #0A2F0A
triadic
#1D2F0A #0A1D2F #2F0A1D
tetradic
#1D2F0A #0A2F2E #1C0A2F #2F0A0A
square
#1D2F0A #0A2F2E #1C0A2F #2F0A0A
split-complementary
#1D2F0A #0A0A2F #2E0A2F
monochromatic
#101905 #101905 #1D2F0A #3C6115 #5B941F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1D2F0A#FFFFFF#000000##FFFFFF
##1D2F0A1.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)
#312B06
Deuteranopia (green-blind)
#2F2A0D
Tritanopia (blue-blind)
#1E2D27
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1d2f0a;
/* rgb */ color: rgb(29, 47, 10);
/* oklch */ color: oklch(28.0% 0.063 131.6);
Tailwind
colors: {
  custom: {
    50: '#5a674c',
    500: '#1d2f0a',
    950: '#000000',
  },
}
SCSS
$custom: #1d2f0a;
$custom-light: #5a674c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2f0a",
  "rgb": {
    "r": 29,
    "g": 47,
    "b": 10
  },
  "hsl": {
    "h": 89.189,
    "s": 64.912,
    "l": 11.176
  },
  "oklch": {
    "l": 0.27997,
    "c": 0.06344,
    "h": 131.6
  },
  "luminance": 0.02316
}

Semantic roles & 50–950 ramp

primary
#1D2F0A
secondary
#49296C
accent
#40E892
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #1D2F0A

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

Preview Lab → · Contrast checker → · Palette generator →

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