#1F5E16#1F5E16

#1F5E16 is a dark, vivid green. Relative luminance 0.084; OKLCH L 42.6% C 0.122 H 141.3°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#1F5E16
RGBrgb(31, 94, 22)
HSLhsl(113, 62%, 23%)
HSVhsv(113, 77%, 37%)
CMYKcmyk(67%, 0%, 76.6%, 63.1%)
CIE-LABlab(34.71, -34.89, 33.60)
CIE-LCHlch(34.71, 48.44, 136.08°)
OKLaboklab(42.56% -0.0953 0.0763)
OKLCHoklch(42.56% 0.122 141.3)
XYZxyz(4.7124, 8.3542, 2.1231)
Luminance0.0835 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5E16 #55165E
analogous
#435E16 #1F5E16 #165E31
triadic
#1F5E16 #161F5E #5E161F
tetradic
#1F5E16 #16435E #55165E #5E3116
square
#1F5E16 #16435E #55165E #5E3116
split-complementary
#1F5E16 #31165E #5E1643
monochromatic
#081906 #0F2C0A #1F5E16 #2F9022 #40C12D

Accessibility & contrast

On white

7.86
#1F5E16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#1F5E16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5E16
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5E16#FFFFFF#000000##FFFFFF
##1F5E161.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61550A
Deuteranopia (green-blind)
#59501D
Tritanopia (blue-blind)
#145B50
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1f5e16;
/* rgb */ color: rgb(31, 94, 22);
/* oklch */ color: oklch(42.6% 0.122 141.3);
Tailwind
colors: {
  custom: {
    50: '#648c58',
    500: '#1f5e16',
    950: '#000000',
  },
}
SCSS
$custom: #1f5e16;
$custom-light: #648c58;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5e16",
  "rgb": {
    "r": 31,
    "g": 94,
    "b": 22
  },
  "hsl": {
    "h": 112.5,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.42562,
    "c": 0.1221,
    "h": 141.3
  },
  "luminance": 0.08355
}

Semantic roles & 50–950 ramp

primary
#1F5E16
secondary
#8A3B95
accent
#43E5D1
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #1F5E16

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

Preview Lab → · Contrast checker → · Palette generator →

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