#1D2C01#1D2C01

#1D2C01 is a dark, moderate yellow-green. Relative luminance 0.021; OKLCH L 27.0% C 0.068 H 127.3°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#1D2C01
RGBrgb(29, 44, 1)
HSLhsl(81, 96%, 9%)
HSVhsv(81, 98%, 17%)
CMYKcmyk(34.1%, 0%, 97.7%, 82.7%)
CIE-LABlab(15.82, -14.23, 22.24)
CIE-LCHlch(15.82, 26.40, 122.62°)
OKLaboklab(26.96% -0.0413 0.0544)
OKLCHoklch(26.96% 0.068 127.3)
XYZxyz(1.4129, 2.0647, 0.3528)
Luminance0.0207 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2C01 #10012C
analogous
#2C2601 #1D2C01 #082C01
triadic
#1D2C01 #011D2C #2C011D
tetradic
#1D2C01 #012C26 #10012C #2C0108
square
#1D2C01 #012C26 #10012C #2C0108
split-complementary
#1D2C01 #01082C #26012C
monochromatic
#141E01 #141E01 #1D2C01 #446802 #6CA404

Accessibility & contrast

On white

14.86
#1D2C01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#1D2C01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2C01
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2C01#FFFFFF#000000##FFFFFF
##1D2C011.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2800
Deuteranopia (green-blind)
#2D2704
Tritanopia (blue-blind)
#1F2924
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1d2c01;
/* rgb */ color: rgb(29, 44, 1);
/* oklch */ color: oklch(27.0% 0.068 127.3);
Tailwind
colors: {
  custom: {
    50: '#5a6547',
    500: '#1d2c01',
    950: '#000000',
  },
}
SCSS
$custom: #1d2c01;
$custom-light: #5a6547;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2c01",
  "rgb": {
    "r": 29,
    "g": 44,
    "b": 1
  },
  "hsl": {
    "h": 80.93,
    "s": 95.556,
    "l": 8.824
  },
  "oklch": {
    "l": 0.26955,
    "c": 0.06829,
    "h": 127.3
  },
  "luminance": 0.02065
}

Semantic roles & 50–950 ramp

primary
#1D2C01
secondary
#371772
accent
#29FF74
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#040500
muted
#797A77

Preview Lab

Preview with #1D2C01

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

Preview Lab → · Contrast checker → · Palette generator →

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