#1F4E14#1F4E14

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

Color values

HEX#1F4E14
RGBrgb(31, 78, 20)
HSLhsl(109, 59%, 19%)
HSVhsv(109, 74%, 31%)
CMYKcmyk(60.3%, 0%, 74.4%, 69.4%)
CIE-LABlab(28.88, -28.44, 28.39)
CIE-LCHlch(28.88, 40.19, 135.04°)
OKLaboklab(37.74% -0.078 0.0651)
OKLCHoklch(37.74% 0.102 140.1)
XYZxyz(3.4156, 5.7903, 1.5993)
Luminance0.0579 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4E14 #43144E
analogous
#3C4E14 #1F4E14 #144E26
triadic
#1F4E14 #141F4E #4E141F
tetradic
#1F4E14 #143C4E #43144E #4E2614
square
#1F4E14 #143C4E #43144E #4E2614
split-complementary
#1F4E14 #26144E #4E143C
monochromatic
#0A1806 #0C1D08 #1F4E14 #327F20 #46AF2D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F4E14#FFFFFF#000000##FFFFFF
##1F4E141.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)
#50470C
Deuteranopia (green-blind)
#4A4319
Tritanopia (blue-blind)
#1A4B42
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1f4e14;
/* rgb */ color: rgb(31, 78, 20);
/* oklch */ color: oklch(37.7% 0.102 140.1);
Tailwind
colors: {
  custom: {
    50: '#618055',
    500: '#1f4e14',
    950: '#000000',
  },
}
SCSS
$custom: #1f4e14;
$custom-light: #618055;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4e14",
  "rgb": {
    "r": 31,
    "g": 78,
    "b": 20
  },
  "hsl": {
    "h": 108.621,
    "s": 59.184,
    "l": 19.216
  },
  "oklch": {
    "l": 0.3774,
    "c": 0.10159,
    "h": 140.1
  },
  "luminance": 0.05791
}

Semantic roles & 50–950 ramp

primary
#1F4E14
secondary
#773886
accent
#45E2C5
background
#F5F7F5
surface
#EAEEE9
border
#C6C9C5
text
#050A03
muted
#797C78

Preview Lab

Preview with #1F4E14

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

Preview Lab → · Contrast checker → · Palette generator →

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