#1D4F2E#1D4F2E

#1D4F2E is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.4% C 0.078 H 152.1°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#1D4F2E
RGBrgb(29, 79, 46)
HSLhsl(140, 46%, 21%)
HSVhsv(140, 63%, 31%)
CMYKcmyk(63.3%, 0%, 41.8%, 69%)
CIE-LABlab(29.54, -25.38, 14.61)
CIE-LCHlch(29.54, 29.29, 150.08°)
OKLaboklab(38.38% -0.0688 0.0365)
OKLCHoklch(38.38% 0.078 152.1)
XYZxyz(3.7955, 6.0501, 3.5520)
Luminance0.0605 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4F2E #4F1D3E
analogous
#254F1D #1D4F2E #1D4F47
triadic
#1D4F2E #2E1D4F #4F2E1D
tetradic
#1D4F2E #1D254F #4F1D3E #4F471D
square
#1D4F2E #1D254F #4F1D3E #4F471D
split-complementary
#1D4F2E #471D4F #4F1D25
monochromatic
#08160D #0D2214 #1D4F2E #2D7C48 #3EA962

Accessibility & contrast

On white

9.50
#1D4F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#1D4F2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4F2E
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4F2E#FFFFFF#000000##FFFFFF
##1D4F2E1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F482C
Deuteranopia (green-blind)
#484430
Tritanopia (blue-blind)
#0E4E47
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1d4f2e;
/* rgb */ color: rgb(29, 79, 46);
/* oklch */ color: oklch(38.4% 0.078 152.1);
Tailwind
colors: {
  custom: {
    50: '#5e8167',
    500: '#1d4f2e',
    950: '#000000',
  },
}
SCSS
$custom: #1d4f2e;
$custom-light: #5e8167;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4f2e",
  "rgb": {
    "r": 29,
    "g": 79,
    "b": 46
  },
  "hsl": {
    "h": 140.4,
    "s": 46.296,
    "l": 21.176
  },
  "oklch": {
    "l": 0.38384,
    "c": 0.07784,
    "h": 152.1
  },
  "luminance": 0.0605
}

Semantic roles & 50–950 ramp

primary
#1D4F2E
secondary
#84446E
accent
#52A9D6
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#050A06
muted
#797C7A

Preview Lab

Preview with #1D4F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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