#1D2801#1D2801

#1D2801 is a dark, moderate yellow-green. Relative luminance 0.018; OKLCH L 25.7% C 0.062 H 124.2°. Best body text is #FFFFFF at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#1D2801
RGBrgb(29, 40, 1)
HSLhsl(77, 95%, 8%)
HSVhsv(77, 98%, 16%)
CMYKcmyk(27.5%, 0%, 97.5%, 84.3%)
CIE-LABlab(14.29, -11.90, 20.27)
CIE-LCHlch(14.29, 23.51, 120.40°)
OKLaboklab(25.71% -0.035 0.0516)
OKLCHoklch(25.71% 0.062 124.2)
XYZxyz(1.2710, 1.7810, 0.3055)
Luminance0.0178 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2801 #0C0128
analogous
#281F01 #1D2801 #092801
triadic
#1D2801 #011D28 #28011D
tetradic
#1D2801 #01281F #0C0128 #280109
square
#1D2801 #01281F #0C0128 #280109
split-complementary
#1D2801 #010928 #1F0128
monochromatic
#161E01 #161E01 #1D2801 #486402 #749F04

Accessibility & contrast

On white

15.48
#1D2801 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#1D2801 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2801
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2801#FFFFFF#000000##FFFFFF
##1D28011.0015.481.3615.48
#FFFFFF15.481.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2500
Deuteranopia (green-blind)
#2A2403
Tritanopia (blue-blind)
#1F2520
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #1d2801;
/* rgb */ color: rgb(29, 40, 1);
/* oklch */ color: oklch(25.7% 0.062 124.2);
Tailwind
colors: {
  custom: {
    50: '#596247',
    500: '#1d2801',
    950: '#000000',
  },
}
SCSS
$custom: #1d2801;
$custom-light: #596247;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2801",
  "rgb": {
    "r": 29,
    "g": 40,
    "b": 1
  },
  "hsl": {
    "h": 76.923,
    "s": 95.122,
    "l": 8.039
  },
  "oklch": {
    "l": 0.25713,
    "c": 0.0624,
    "h": 124.2
  },
  "luminance": 0.01781
}

Semantic roles & 50–950 ramp

primary
#1D2801
secondary
#2F166F
accent
#29FF65
background
#F5F5F4
surface
#E9EAE6
border
#C5C6C2
text
#040500
muted
#797977

Preview Lab

Preview with #1D2801

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

Preview Lab → · Contrast checker → · Palette generator →

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