#1F4E1D#1F4E1D

#1F4E1D is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.9% C 0.093 H 142.8°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#1F4E1D
RGBrgb(31, 78, 29)
HSLhsl(118, 46%, 21%)
HSVhsv(118, 63%, 31%)
CMYKcmyk(60.3%, 0%, 62.8%, 69.4%)
CIE-LABlab(28.98, -27.34, 23.89)
CIE-LCHlch(28.98, 36.31, 138.85°)
OKLaboklab(37.85% -0.0744 0.0566)
OKLCHoklch(37.85% 0.093 142.8)
XYZxyz(3.5111, 5.8285, 2.1022)
Luminance0.0583 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4E1D #4C1D4E
analogous
#374E1D #1F4E1D #1D4E33
triadic
#1F4E1D #1D1F4E #4E1D1F
tetradic
#1F4E1D #1D374E #4C1D4E #4E331D
square
#1F4E1D #1D374E #4C1D4E #4E331D
split-complementary
#1F4E1D #331D4E #4E1D37
monochromatic
#091608 #0D210C #1F4E1D #317B2E #42A73E

Accessibility & contrast

On white

9.70
#1F4E1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#1F4E1D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4E1D
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4E1D#FFFFFF#000000##FFFFFF
##1F4E1D1.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504718
Deuteranopia (green-blind)
#4A4321
Tritanopia (blue-blind)
#184C43
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1f4e1d;
/* rgb */ color: rgb(31, 78, 29);
/* oklch */ color: oklch(37.9% 0.093 142.8);
Tailwind
colors: {
  custom: {
    50: '#60805b',
    500: '#1f4e1d',
    950: '#000000',
  },
}
SCSS
$custom: #1f4e1d;
$custom-light: #60805b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4e1d",
  "rgb": {
    "r": 31,
    "g": 78,
    "b": 29
  },
  "hsl": {
    "h": 117.551,
    "s": 45.794,
    "l": 20.98
  },
  "oklch": {
    "l": 0.37853,
    "c": 0.09347,
    "h": 142.8
  },
  "luminance": 0.05829
}

Semantic roles & 50–950 ramp

primary
#1F4E1D
secondary
#814483
accent
#52D5D0
background
#F5F7F5
surface
#EAEEE9
border
#C6C9C5
text
#050A04
muted
#797C79

Preview Lab

Preview with #1F4E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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