#1D2A07#1D2A07

#1D2A07 is a dark, muted yellow-green. Relative luminance 0.019; OKLCH L 26.4% C 0.058 H 127.4°. Best body text is #FFFFFF at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#1D2A07
RGBrgb(29, 42, 7)
HSLhsl(82, 71%, 10%)
HSVhsv(82, 83%, 16%)
CMYKcmyk(31%, 0%, 83.3%, 83.5%)
CIE-LABlab(15.13, -12.40, 18.91)
CIE-LCHlch(15.13, 22.62, 123.26°)
OKLaboklab(26.41% -0.0354 0.0462)
OKLCHoklch(26.41% 0.058 127.4)
XYZxyz(1.3730, 1.9325, 0.5016)
Luminance0.0193 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2A07 #14072A
analogous
#2A2607 #1D2A07 #0B2A07
triadic
#1D2A07 #071D2A #2A071D
tetradic
#1D2A07 #072A26 #14072A #2A070B
square
#1D2A07 #072A26 #14072A #2A070B
split-complementary
#1D2A07 #070B2A #26072A
monochromatic
#121A04 #121A04 #1D2A07 #415E10 #659318

Accessibility & contrast

On white

15.15
#1D2A07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#1D2A07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2A07
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2A07#FFFFFF#000000##FFFFFF
##1D2A071.0015.151.3915.15
#FFFFFF15.151.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2604
Deuteranopia (green-blind)
#2B260A
Tritanopia (blue-blind)
#1E2823
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1d2a07;
/* rgb */ color: rgb(29, 42, 7);
/* oklch */ color: oklch(26.4% 0.058 127.4);
Tailwind
colors: {
  custom: {
    50: '#5a634a',
    500: '#1d2a07',
    950: '#000000',
  },
}
SCSS
$custom: #1d2a07;
$custom-light: #5a634a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2a07",
  "rgb": {
    "r": 29,
    "g": 42,
    "b": 7
  },
  "hsl": {
    "h": 82.286,
    "s": 71.429,
    "l": 9.608
  },
  "oklch": {
    "l": 0.26413,
    "c": 0.05823,
    "h": 127.4
  },
  "luminance": 0.01932
}

Semantic roles & 50–950 ramp

primary
#1D2A07
secondary
#3D236A
accent
#3AEE7D
background
#F5F5F4
surface
#E9EAE7
border
#C5C6C3
text
#040501
muted
#797977

Preview Lab

Preview with #1D2A07

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

Preview Lab → · Contrast checker → · Palette generator →

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