#1D4E07#1D4E07

#1D4E07 is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.5% C 0.111 H 138.5°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#1D4E07
RGBrgb(29, 78, 7)
HSLhsl(101, 84%, 17%)
HSVhsv(101, 91%, 31%)
CMYKcmyk(62.8%, 0%, 91%, 69.4%)
CIE-LABlab(28.71, -30.10, 33.41)
CIE-LCHlch(28.71, 44.97, 132.01°)
OKLaboklab(37.55% -0.0832 0.0735)
OKLCHoklch(37.55% 0.111 138.5)
XYZxyz(3.2693, 5.7250, 1.1337)
Luminance0.0573 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4E07 #38074E
analogous
#414E07 #1D4E07 #074E14
triadic
#1D4E07 #071D4E #4E071D
tetradic
#1D4E07 #07414E #38074E #4E1407
square
#1D4E07 #07414E #38074E #4E1407
split-complementary
#1D4E07 #14074E #4E0741
monochromatic
#0A1C03 #0A1C03 #1D4E07 #32860C #47BE11

Accessibility & contrast

On white

9.79
#1D4E07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#1D4E07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4E07
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4E07#FFFFFF#000000##FFFFFF
##1D4E071.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514600
Deuteranopia (green-blind)
#4B4210
Tritanopia (blue-blind)
#184B41
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1d4e07;
/* rgb */ color: rgb(29, 78, 7);
/* oklch */ color: oklch(37.5% 0.111 138.5);
Tailwind
colors: {
  custom: {
    50: '#60804e',
    500: '#1d4e07',
    950: '#000000',
  },
}
SCSS
$custom: #1d4e07;
$custom-light: #60804e;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4e07",
  "rgb": {
    "r": 29,
    "g": 78,
    "b": 7
  },
  "hsl": {
    "h": 101.408,
    "s": 83.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.3755,
    "c": 0.11101,
    "h": 138.5
  },
  "luminance": 0.05725
}

Semantic roles & 50–950 ramp

primary
#1D4E07
secondary
#6C258C
accent
#2EFABB
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050A02
muted
#797C78

Preview Lab

Preview with #1D4E07

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

Preview Lab → · Contrast checker → · Palette generator →

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