#1D2702#1D2702

#1D2702 is a dark, muted yellow-green. Relative luminance 0.017; OKLCH L 25.4% C 0.060 H 123.5°. Best body text is #FFFFFF at 15.63:1 contrast (WCAG AA passes).

Color values

HEX#1D2702
RGBrgb(29, 39, 2)
HSLhsl(76, 90%, 8%)
HSVhsv(76, 95%, 15%)
CMYKcmyk(25.6%, 0%, 94.9%, 84.7%)
CIE-LABlab(13.92, -11.17, 19.38)
CIE-LCHlch(13.92, 22.37, 119.96°)
OKLaboklab(25.42% -0.0329 0.0497)
OKLCHoklch(25.42% 0.06 123.5)
XYZxyz(1.2432, 1.7166, 0.3233)
Luminance0.0172 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2702 #0C0227
analogous
#271E02 #1D2702 #0A2702
triadic
#1D2702 #021D27 #27021D
tetradic
#1D2702 #02271E #0C0227 #27020A
square
#1D2702 #02271E #0C0227 #27020A
split-complementary
#1D2702 #020A27 #1E0227
monochromatic
#161D01 #161D01 #1D2702 #486105 #749B08

Accessibility & contrast

On white

15.63
#1D2702 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#1D2702 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2702
15.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2702#FFFFFF#000000##FFFFFF
##1D27021.0015.631.3415.63
#FFFFFF15.631.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2400
Deuteranopia (green-blind)
#292304
Tritanopia (blue-blind)
#1F2420
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #1d2702;
/* rgb */ color: rgb(29, 39, 2);
/* oklch */ color: oklch(25.4% 0.060 123.5);
Tailwind
colors: {
  custom: {
    50: '#596147',
    500: '#1d2702',
    950: '#000000',
  },
}
SCSS
$custom: #1d2702;
$custom-light: #596147;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2702",
  "rgb": {
    "r": 29,
    "g": 39,
    "b": 2
  },
  "hsl": {
    "h": 76.216,
    "s": 90.244,
    "l": 8.039
  },
  "oklch": {
    "l": 0.25418,
    "c": 0.05959,
    "h": 123.5
  },
  "luminance": 0.01717
}

Semantic roles & 50–950 ramp

primary
#1D2702
secondary
#2F186C
accent
#29FF63
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#040500
muted
#797977

Preview Lab

Preview with #1D2702

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

Preview Lab → · Contrast checker → · Palette generator →

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