#1D2F07#1D2F07

#1D2F07 is a dark, moderate yellow-green. Relative luminance 0.023; OKLCH L 28.0% C 0.066 H 130.7°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#1D2F07
RGBrgb(29, 47, 7)
HSLhsl(87, 74%, 11%)
HSVhsv(87, 85%, 18%)
CMYKcmyk(38.3%, 0%, 85.1%, 81.6%)
CIE-LABlab(17.03, -15.28, 21.30)
CIE-LCHlch(17.03, 26.21, 125.66°)
OKLaboklab(27.96% -0.0433 0.0503)
OKLCHoklch(27.96% 0.066 130.7)
XYZxyz(1.5615, 2.3095, 0.5645)
Luminance0.0231 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2F07 #19072F
analogous
#2F2D07 #1D2F07 #092F07
triadic
#1D2F07 #071D2F #2F071D
tetradic
#1D2F07 #072F2D #19072F #2F0709
square
#1D2F07 #072F2D #19072F #2F0709
split-complementary
#1D2F07 #07092F #2D072F
monochromatic
#101B04 #101B04 #1D2F07 #3E640F #5F9A17

Accessibility & contrast

On white

14.36
#1D2F07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#1D2F07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2F07
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2F07#FFFFFF#000000##FFFFFF
##1D2F071.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B03
Deuteranopia (green-blind)
#2F290A
Tritanopia (blue-blind)
#1E2D27
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1d2f07;
/* rgb */ color: rgb(29, 47, 7);
/* oklch */ color: oklch(28.0% 0.066 130.7);
Tailwind
colors: {
  custom: {
    50: '#5a674a',
    500: '#1d2f07',
    950: '#000000',
  },
}
SCSS
$custom: #1d2f07;
$custom-light: #5a674a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2f07",
  "rgb": {
    "r": 29,
    "g": 47,
    "b": 7
  },
  "hsl": {
    "h": 87,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.27962,
    "c": 0.06637,
    "h": 130.7
  },
  "luminance": 0.0231
}

Semantic roles & 50–950 ramp

primary
#1D2F07
secondary
#45236F
accent
#37F18B
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #1D2F07

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

Preview Lab → · Contrast checker → · Palette generator →

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