#1D2B04#1D2B04

#1D2B04 is a dark, moderate yellow-green. Relative luminance 0.020; OKLCH L 26.7% C 0.063 H 127.3°. Best body text is #FFFFFF at 15.00:1 contrast (WCAG AA passes).

Color values

HEX#1D2B04
RGBrgb(29, 43, 4)
HSLhsl(82, 83%, 9%)
HSVhsv(82, 91%, 17%)
CMYKcmyk(32.6%, 0%, 90.7%, 83.1%)
CIE-LABlab(15.48, -13.32, 20.57)
CIE-LCHlch(15.48, 24.51, 122.93°)
OKLaboklab(26.68% -0.0384 0.0503)
OKLCHoklch(26.68% 0.063 127.3)
XYZxyz(1.3925, 1.9977, 0.4271)
Luminance0.0200 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2B04 #12042B
analogous
#2B2604 #1D2B04 #0A2B04
triadic
#1D2B04 #041D2B #2B041D
tetradic
#1D2B04 #042B26 #12042B #2B040A
square
#1D2B04 #042B26 #12042B #2B040A
split-complementary
#1D2B04 #040A2B #26042B
monochromatic
#131C03 #131C03 #1D2B04 #436309 #699B0E

Accessibility & contrast

On white

15.00
#1D2B04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#1D2B04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2B04
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2B04#FFFFFF#000000##FFFFFF
##1D2B041.0015.001.4015.00
#FFFFFF15.001.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2700
Deuteranopia (green-blind)
#2C2607
Tritanopia (blue-blind)
#1F2923
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1d2b04;
/* rgb */ color: rgb(29, 43, 4);
/* oklch */ color: oklch(26.7% 0.063 127.3);
Tailwind
colors: {
  custom: {
    50: '#5a6448',
    500: '#1d2b04',
    950: '#000000',
  },
}
SCSS
$custom: #1d2b04;
$custom-light: #5a6448;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2b04",
  "rgb": {
    "r": 29,
    "g": 43,
    "b": 4
  },
  "hsl": {
    "h": 81.538,
    "s": 82.979,
    "l": 9.216
  },
  "oklch": {
    "l": 0.26683,
    "c": 0.06325,
    "h": 127.3
  },
  "luminance": 0.01998
}

Semantic roles & 50–950 ramp

primary
#1D2B04
secondary
#3A1D6E
accent
#2EF977
background
#F5F5F4
surface
#E9EAE6
border
#C5C6C2
text
#040500
muted
#797977

Preview Lab

Preview with #1D2B04

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

Preview Lab → · Contrast checker → · Palette generator →

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