#1D2701#1D2701

#1D2701 is a dark, moderate yellow-green. Relative luminance 0.017; OKLCH L 25.4% C 0.061 H 123.3°. Best body text is #FFFFFF at 15.64:1 contrast (WCAG AA passes).

Color values

HEX#1D2701
RGBrgb(29, 39, 1)
HSLhsl(76, 95%, 8%)
HSVhsv(76, 97%, 15%)
CMYKcmyk(25.6%, 0%, 97.4%, 84.7%)
CIE-LABlab(13.91, -11.29, 19.77)
CIE-LCHlch(13.91, 22.77, 119.73°)
OKLaboklab(25.4% -0.0334 0.051)
OKLCHoklch(25.4% 0.061 123.3)
XYZxyz(1.2377, 1.7144, 0.2944)
Luminance0.0171 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2701 #0B0127
analogous
#271E01 #1D2701 #0A2701
triadic
#1D2701 #011D27 #27011D
tetradic
#1D2701 #01271E #0B0127 #27010A
square
#1D2701 #01271E #0B0127 #27010A
split-complementary
#1D2701 #010A27 #1E0127
monochromatic
#161E01 #161E01 #1D2701 #496303 #769E04

Accessibility & contrast

On white

15.64
#1D2701 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#1D2701 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2701
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2701#FFFFFF#000000##FFFFFF
##1D27011.0015.641.3415.64
#FFFFFF15.641.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2400
Deuteranopia (green-blind)
#292303
Tritanopia (blue-blind)
#1F2420
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #1d2701;
/* rgb */ color: rgb(29, 39, 1);
/* oklch */ color: oklch(25.4% 0.061 123.3);
Tailwind
colors: {
  custom: {
    50: '#596147',
    500: '#1d2701',
    950: '#000000',
  },
}
SCSS
$custom: #1d2701;
$custom-light: #596147;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2701",
  "rgb": {
    "r": 29,
    "g": 39,
    "b": 1
  },
  "hsl": {
    "h": 75.789,
    "s": 95,
    "l": 7.843
  },
  "oklch": {
    "l": 0.25403,
    "c": 0.06093,
    "h": 123.3
  },
  "luminance": 0.01714
}

Semantic roles & 50–950 ramp

primary
#1D2701
secondary
#2D166E
accent
#29FF61
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#040500
muted
#797977

Preview Lab

Preview with #1D2701

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

Preview Lab → · Contrast checker → · Palette generator →

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