#1F420E#1F420E

#1F420E is a dark, moderate green. Relative luminance 0.042; OKLCH L 34.0% C 0.089 H 137.3°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#1F420E
RGBrgb(31, 66, 14)
HSLhsl(100, 65%, 16%)
HSVhsv(100, 79%, 26%)
CMYKcmyk(53%, 0%, 78.8%, 74.1%)
CIE-LABlab(24.38, -23.56, 26.48)
CIE-LCHlch(24.38, 35.44, 131.66°)
OKLaboklab(34.03% -0.0652 0.0602)
OKLCHoklch(34.03% 0.089 137.3)
XYZxyz(2.5925, 4.2193, 1.0932)
Luminance0.0422 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F420E #310E42
analogous
#39420E #1F420E #0E4217
triadic
#1F420E #0E1F42 #420E1F
tetradic
#1F420E #0E3942 #310E42 #42170E
square
#1F420E #0E3942 #310E42 #42170E
split-complementary
#1F420E #170E42 #420E39
monochromatic
#0C1905 #0C1905 #1F420E #377419 #4EA723

Accessibility & contrast

On white

11.39
#1F420E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#1F420E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F420E
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F420E#FFFFFF#000000##FFFFFF
##1F420E1.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C06
Deuteranopia (green-blind)
#403913
Tritanopia (blue-blind)
#1D3F38
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1f420e;
/* rgb */ color: rgb(31, 66, 14);
/* oklch */ color: oklch(34.0% 0.089 137.3);
Tailwind
colors: {
  custom: {
    50: '#5f7750',
    500: '#1f420e',
    950: '#000000',
  },
}
SCSS
$custom: #1f420e;
$custom-light: #5f7750;
$custom-dark: #000000;
JSON
{
  "hex": "#1f420e",
  "rgb": {
    "r": 31,
    "g": 66,
    "b": 14
  },
  "hsl": {
    "h": 100.385,
    "s": 65,
    "l": 15.686
  },
  "oklch": {
    "l": 0.34026,
    "c": 0.08876,
    "h": 137.3
  },
  "luminance": 0.04219
}

Semantic roles & 50–950 ramp

primary
#1F420E
secondary
#632F7D
accent
#40E8B1
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#050802
muted
#797B78

Preview Lab

Preview with #1F420E

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

Preview Lab → · Contrast checker → · Palette generator →

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