#1D2907#1D2907

#1D2907 is a dark, muted yellow-green. Relative luminance 0.019; OKLCH L 26.1% C 0.057 H 126.6°. Best body text is #FFFFFF at 15.30:1 contrast (WCAG AA passes).

Color values

HEX#1D2907
RGBrgb(29, 41, 7)
HSLhsl(81, 71%, 9%)
HSVhsv(81, 83%, 16%)
CMYKcmyk(29.3%, 0%, 82.9%, 83.9%)
CIE-LABlab(14.75, -11.81, 18.42)
CIE-LCHlch(14.75, 21.88, 122.66°)
OKLaboklab(26.11% -0.0338 0.0454)
OKLCHoklch(26.11% 0.057 126.6)
XYZxyz(1.3380, 1.8624, 0.4900)
Luminance0.0186 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2907 #130729
analogous
#292407 #1D2907 #0C2907
triadic
#1D2907 #071D29 #29071D
tetradic
#1D2907 #072924 #130729 #29070C
square
#1D2907 #072924 #130729 #29070C
split-complementary
#1D2907 #070C29 #240729
monochromatic
#121A04 #121A04 #1D2907 #425D10 #679219

Accessibility & contrast

On white

15.30
#1D2907 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#1D2907 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2907
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2907#FFFFFF#000000##FFFFFF
##1D29071.0015.301.3715.30
#FFFFFF15.301.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2604
Deuteranopia (green-blind)
#2A2509
Tritanopia (blue-blind)
#1F2722
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1d2907;
/* rgb */ color: rgb(29, 41, 7);
/* oklch */ color: oklch(26.1% 0.057 126.6);
Tailwind
colors: {
  custom: {
    50: '#5a624a',
    500: '#1d2907',
    950: '#000000',
  },
}
SCSS
$custom: #1d2907;
$custom-light: #5a624a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2907",
  "rgb": {
    "r": 29,
    "g": 41,
    "b": 7
  },
  "hsl": {
    "h": 81.176,
    "s": 70.833,
    "l": 9.412
  },
  "oklch": {
    "l": 0.26105,
    "c": 0.05658,
    "h": 126.6
  },
  "luminance": 0.01862
}

Semantic roles & 50–950 ramp

primary
#1D2907
secondary
#3C2369
accent
#3AEE7A
background
#F5F5F4
surface
#E9EAE7
border
#C5C6C3
text
#040501
muted
#797977

Preview Lab

Preview with #1D2907

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

Preview Lab → · Contrast checker → · Palette generator →

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