#1D3902#1D3902

#1D3902 is a dark, moderate yellow-green. Relative luminance 0.032; OKLCH L 31.0% C 0.086 H 133.6°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#1D3902
RGBrgb(29, 57, 2)
HSLhsl(91, 93%, 12%)
HSVhsv(91, 96%, 22%)
CMYKcmyk(49.1%, 0%, 96.5%, 77.6%)
CIE-LABlab(20.80, -21.01, 27.71)
CIE-LCHlch(20.80, 34.78, 127.16°)
OKLaboklab(31.02% -0.0593 0.0623)
OKLCHoklch(31.02% 0.086 133.6)
XYZxyz(1.9807, 3.1917, 0.5691)
Luminance0.0319 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3902 #1E0239
analogous
#393902 #1D3902 #023902
triadic
#1D3902 #021D39 #39021D
tetradic
#1D3902 #023939 #1E0239 #390202
square
#1D3902 #023939 #1E0239 #390202
split-complementary
#1D3902 #020239 #390239
monochromatic
#0F1E01 #0F1E01 #1D3902 #3B7404 #59AF06

Accessibility & contrast

On white

12.82
#1D3902 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1D3902 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3902
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3902#FFFFFF#000000##FFFFFF
##1D39021.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3300
Deuteranopia (green-blind)
#383107
Tritanopia (blue-blind)
#1D362F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1d3902;
/* rgb */ color: rgb(29, 57, 2);
/* oklch */ color: oklch(31.0% 0.086 133.6);
Tailwind
colors: {
  custom: {
    50: '#5c6f48',
    500: '#1d3902',
    950: '#000000',
  },
}
SCSS
$custom: #1d3902;
$custom-light: #5c6f48;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3902",
  "rgb": {
    "r": 29,
    "g": 57,
    "b": 2
  },
  "hsl": {
    "h": 90.545,
    "s": 93.22,
    "l": 11.569
  },
  "oklch": {
    "l": 0.31022,
    "c": 0.08602,
    "h": 133.6
  },
  "luminance": 0.03192
}

Semantic roles & 50–950 ramp

primary
#1D3902
secondary
#4C1A7D
accent
#29FF96
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040701
muted
#797A77

Preview Lab

Preview with #1D3902

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

Preview Lab → · Contrast checker → · Palette generator →

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