#1D3F07#1D3F07

#1D3F07 is a dark, moderate yellow-green. Relative luminance 0.038; OKLCH L 32.9% C 0.091 H 136.2°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#1D3F07
RGBrgb(29, 63, 7)
HSLhsl(96, 80%, 14%)
HSVhsv(96, 89%, 25%)
CMYKcmyk(54%, 0%, 88.9%, 75.3%)
CIE-LABlab(23.11, -23.47, 28.14)
CIE-LCHlch(23.11, 36.64, 129.83°)
OKLaboklab(32.93% -0.0654 0.0627)
OKLCHoklch(32.93% 0.091 136.2)
XYZxyz(2.3225, 3.8314, 0.8181)
Luminance0.0383 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3F07 #29073F
analogous
#393F07 #1D3F07 #073F0D
triadic
#1D3F07 #071D3F #3F071D
tetradic
#1D3F07 #07393F #29073F #3F0D07
square
#1D3F07 #07393F #29073F #3F0D07
split-complementary
#1D3F07 #0D073F #3F0739
monochromatic
#0D1C03 #0D1C03 #1D3F07 #36760D #50AD13

Accessibility & contrast

On white

11.89
#1D3F07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#1D3F07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3F07
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3F07#FFFFFF#000000##FFFFFF
##1D3F071.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423900
Deuteranopia (green-blind)
#3D360D
Tritanopia (blue-blind)
#1B3C35
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1d3f07;
/* rgb */ color: rgb(29, 63, 7);
/* oklch */ color: oklch(32.9% 0.091 136.2);
Tailwind
colors: {
  custom: {
    50: '#5d744c',
    500: '#1d3f07',
    950: '#000000',
  },
}
SCSS
$custom: #1d3f07;
$custom-light: #5d744c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3f07",
  "rgb": {
    "r": 29,
    "g": 63,
    "b": 7
  },
  "hsl": {
    "h": 96.429,
    "s": 80,
    "l": 13.725
  },
  "oklch": {
    "l": 0.32932,
    "c": 0.09059,
    "h": 136.2
  },
  "luminance": 0.03832
}

Semantic roles & 50–950 ramp

primary
#1D3F07
secondary
#5B247E
accent
#31F6A9
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040801
muted
#797B77

Preview Lab

Preview with #1D3F07

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

Preview Lab → · Contrast checker → · Palette generator →

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