#1F8E1E#1F8E1E

#1F8E1E is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.5% C 0.175 H 142.7°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#1F8E1E
RGBrgb(31, 142, 30)
HSLhsl(119, 65%, 34%)
HSVhsv(119, 79%, 56%)
CMYKcmyk(78.2%, 0%, 78.9%, 44.3%)
CIE-LABlab(51.53, -51.38, 47.36)
CIE-LCHlch(51.53, 69.88, 137.33°)
OKLaboklab(56.54% -0.1395 0.1062)
OKLCHoklch(56.54% 0.175 142.7)
XYZxyz(10.4718, 19.7298, 4.4844)
Luminance0.1973 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8E1E #8D1E8E
analogous
#578E1E #1F8E1E #1E8E55
triadic
#1F8E1E #1E1F8E #8E1E1F
tetradic
#1F8E1E #1E578E #8D1E8E #8E551E
square
#1F8E1E #1E578E #8D1E8E #8E551E
split-complementary
#1F8E1E #551E8E #8E1E57
monochromatic
#092909 #145B13 #1F8E1E #2AC129 #4ED94D

Accessibility & contrast

On white

4.25
#1F8E1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#1F8E1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8E1E
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8E1E#FFFFFF#000000##000000
##1F8E1E1.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#918002
Deuteranopia (green-blind)
#85782B
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #1f8e1e;
/* rgb */ color: rgb(31, 142, 30);
/* oklch */ color: oklch(56.5% 0.175 142.7);
Tailwind
colors: {
  custom: {
    50: '#6fb063',
    500: '#1f8e1e',
    950: '#000000',
  },
}
SCSS
$custom: #1f8e1e;
$custom-light: #6fb063;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8e1e",
  "rgb": {
    "r": 31,
    "g": 142,
    "b": 30
  },
  "hsl": {
    "h": 119.464,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56535,
    "c": 0.17533,
    "h": 142.7
  },
  "luminance": 0.19731
}

Semantic roles & 50–950 ramp

primary
#1F8E1E
secondary
#BB4CBC
accent
#40E8E7
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #1F8E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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