#1D2D01#1D2D01

#1D2D01 is a dark, moderate yellow-green. Relative luminance 0.021; OKLCH L 27.3% C 0.070 H 127.9°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#1D2D01
RGBrgb(29, 45, 1)
HSLhsl(82, 96%, 9%)
HSVhsv(82, 98%, 18%)
CMYKcmyk(35.6%, 0%, 97.8%, 82.4%)
CIE-LABlab(16.21, -14.79, 22.71)
CIE-LCHlch(16.21, 27.11, 123.08°)
OKLaboklab(27.27% -0.0429 0.055)
OKLCHoklch(27.27% 0.07 127.9)
XYZxyz(1.4506, 2.1401, 0.3654)
Luminance0.0214 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2D01 #11012D
analogous
#2D2701 #1D2D01 #072D01
triadic
#1D2D01 #011D2D #2D011D
tetradic
#1D2D01 #012D27 #11012D #2D0107
square
#1D2D01 #012D27 #11012D #2D0107
split-complementary
#1D2D01 #01072D #27012D
monochromatic
#131E01 #131E01 #1D2D01 #446902 #6AA504

Accessibility & contrast

On white

14.71
#1D2D01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#1D2D01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2D01
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2D01#FFFFFF#000000##FFFFFF
##1D2D011.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302900
Deuteranopia (green-blind)
#2E2804
Tritanopia (blue-blind)
#1F2A25
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1d2d01;
/* rgb */ color: rgb(29, 45, 1);
/* oklch */ color: oklch(27.3% 0.070 127.9);
Tailwind
colors: {
  custom: {
    50: '#5a6647',
    500: '#1d2d01',
    950: '#000000',
  },
}
SCSS
$custom: #1d2d01;
$custom-light: #5a6647;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2d01",
  "rgb": {
    "r": 29,
    "g": 45,
    "b": 1
  },
  "hsl": {
    "h": 81.818,
    "s": 95.652,
    "l": 9.02
  },
  "oklch": {
    "l": 0.27267,
    "c": 0.06976,
    "h": 127.9
  },
  "luminance": 0.0214
}

Semantic roles & 50–950 ramp

primary
#1D2D01
secondary
#381773
accent
#29FF77
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#040500
muted
#797A77

Preview Lab

Preview with #1D2D01

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

Preview Lab → · Contrast checker → · Palette generator →

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