#1F5016#1F5016

#1F5016 is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.4% C 0.103 H 140.7°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#1F5016
RGBrgb(31, 80, 22)
HSLhsl(111, 57%, 20%)
HSVhsv(111, 73%, 31%)
CMYKcmyk(61.2%, 0%, 72.5%, 68.6%)
CIE-LABlab(29.63, -29.10, 28.25)
CIE-LCHlch(29.63, 40.55, 135.85°)
OKLaboklab(38.37% -0.0796 0.0651)
OKLCHoklch(38.37% 0.103 140.7)
XYZxyz(3.5784, 6.0863, 1.7451)
Luminance0.0609 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5016 #471650
analogous
#3C5016 #1F5016 #16502A
triadic
#1F5016 #161F50 #50161F
tetradic
#1F5016 #163C50 #471650 #502A16
square
#1F5016 #163C50 #471650 #502A16
split-complementary
#1F5016 #2A1650 #50163C
monochromatic
#091807 #0C2009 #1F5016 #328023 #44B030

Accessibility & contrast

On white

9.47
#1F5016 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#1F5016 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5016
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5016#FFFFFF#000000##FFFFFF
##1F50161.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52480E
Deuteranopia (green-blind)
#4C441B
Tritanopia (blue-blind)
#194D44
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1f5016;
/* rgb */ color: rgb(31, 80, 22);
/* oklch */ color: oklch(38.4% 0.103 140.7);
Tailwind
colors: {
  custom: {
    50: '#618256',
    500: '#1f5016',
    950: '#000000',
  },
}
SCSS
$custom: #1f5016;
$custom-light: #618256;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5016",
  "rgb": {
    "r": 31,
    "g": 80,
    "b": 22
  },
  "hsl": {
    "h": 110.69,
    "s": 56.863,
    "l": 20
  },
  "oklch": {
    "l": 0.38366,
    "c": 0.10284,
    "h": 140.7
  },
  "luminance": 0.06087
}

Semantic roles & 50–950 ramp

primary
#1F5016
secondary
#7C3A87
accent
#48E0C8
background
#F5F7F5
surface
#EAEEE9
border
#C6C9C5
text
#050A03
muted
#797C78

Preview Lab

Preview with #1F5016

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

Preview Lab → · Contrast checker → · Palette generator →

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