#1D2602#1D2602

#1D2602 is a dark, muted yellow-green. Relative luminance 0.017; OKLCH L 25.1% C 0.058 H 122.5°. Best body text is #FFFFFF at 15.78:1 contrast (WCAG AA passes).

Color values

HEX#1D2602
RGBrgb(29, 38, 2)
HSLhsl(75, 90%, 8%)
HSVhsv(75, 95%, 15%)
CMYKcmyk(23.7%, 0%, 94.7%, 85.1%)
CIE-LABlab(13.54, -10.56, 18.88)
CIE-LCHlch(13.54, 21.63, 119.23°)
OKLaboklab(25.11% -0.0312 0.049)
OKLCHoklch(25.11% 0.058 122.5)
XYZxyz(1.2108, 1.6518, 0.3125)
Luminance0.0165 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2602 #0B0226
analogous
#261D02 #1D2602 #0B2602
triadic
#1D2602 #021D26 #26021D
tetradic
#1D2602 #02261D #0B0226 #26020B
square
#1D2602 #02261D #0B0226 #26020B
split-complementary
#1D2602 #020B26 #1D0226
monochromatic
#161D02 #161D02 #1D2602 #496005 #769A08

Accessibility & contrast

On white

15.78
#1D2602 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#1D2602 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2602
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2602#FFFFFF#000000##FFFFFF
##1D26021.0015.781.3315.78
#FFFFFF15.781.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292300
Deuteranopia (green-blind)
#282304
Tritanopia (blue-blind)
#1F231F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #1d2602;
/* rgb */ color: rgb(29, 38, 2);
/* oklch */ color: oklch(25.1% 0.058 122.5);
Tailwind
colors: {
  custom: {
    50: '#596047',
    500: '#1d2602',
    950: '#000000',
  },
}
SCSS
$custom: #1d2602;
$custom-light: #596047;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2602",
  "rgb": {
    "r": 29,
    "g": 38,
    "b": 2
  },
  "hsl": {
    "h": 75,
    "s": 90,
    "l": 7.843
  },
  "oklch": {
    "l": 0.25109,
    "c": 0.05808,
    "h": 122.5
  },
  "luminance": 0.01652
}

Semantic roles & 50–950 ramp

primary
#1D2602
secondary
#2D186B
accent
#29FF5E
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#030400
muted
#787977

Preview Lab

Preview with #1D2602

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

Preview Lab → · Contrast checker → · Palette generator →

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