#1F4E15#1F4E15

#1F4E15 is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.8% C 0.101 H 140.4°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#1F4E15
RGBrgb(31, 78, 21)
HSLhsl(109, 58%, 19%)
HSVhsv(109, 73%, 31%)
CMYKcmyk(60.3%, 0%, 73.1%, 69.4%)
CIE-LABlab(28.89, -28.33, 27.93)
CIE-LCHlch(28.89, 39.78, 135.41°)
OKLaboklab(37.75% -0.0776 0.0643)
OKLCHoklch(37.75% 0.101 140.4)
XYZxyz(3.4247, 5.7939, 1.6472)
Luminance0.0579 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4E15 #44154E
analogous
#3C4E15 #1F4E15 #154E28
triadic
#1F4E15 #151F4E #4E151F
tetradic
#1F4E15 #153C4E #44154E #4E2815
square
#1F4E15 #153C4E #44154E #4E2815
split-complementary
#1F4E15 #28154E #4E153C
monochromatic
#0A1806 #0C1E08 #1F4E15 #327E22 #45AE2F

Accessibility & contrast

On white

9.73
#1F4E15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#1F4E15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4E15
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4E15#FFFFFF#000000##FFFFFF
##1F4E151.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50470D
Deuteranopia (green-blind)
#4A431A
Tritanopia (blue-blind)
#194B42
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1f4e15;
/* rgb */ color: rgb(31, 78, 21);
/* oklch */ color: oklch(37.8% 0.101 140.4);
Tailwind
colors: {
  custom: {
    50: '#608055',
    500: '#1f4e15',
    950: '#000000',
  },
}
SCSS
$custom: #1f4e15;
$custom-light: #608055;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4e15",
  "rgb": {
    "r": 31,
    "g": 78,
    "b": 21
  },
  "hsl": {
    "h": 109.474,
    "s": 57.576,
    "l": 19.412
  },
  "oklch": {
    "l": 0.37751,
    "c": 0.10077,
    "h": 140.4
  },
  "luminance": 0.05794
}

Semantic roles & 50–950 ramp

primary
#1F4E15
secondary
#783986
accent
#47E1C6
background
#F5F7F5
surface
#EAEEE9
border
#C6C9C5
text
#050A03
muted
#797C78

Preview Lab

Preview with #1F4E15

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

Preview Lab → · Contrast checker → · Palette generator →

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