#1F8D10#1F8D10

#1F8D10 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.2% C 0.180 H 141.7°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#1F8D10
RGBrgb(31, 141, 16)
HSLhsl(113, 80%, 31%)
HSVhsv(113, 89%, 55%)
CMYKcmyk(78%, 0%, 88.7%, 44.7%)
CIE-LABlab(51.13, -51.86, 50.99)
CIE-LCHlch(51.13, 72.73, 135.49°)
OKLaboklab(56.18% -0.1414 0.1118)
OKLCHoklch(56.18% 0.18 141.7)
XYZxyz(10.1829, 19.3773, 3.6936)
Luminance0.1938 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8D10 #7E108D
analogous
#5D8D10 #1F8D10 #108D3F
triadic
#1F8D10 #101F8D #8D101F
tetradic
#1F8D10 #105D8D #7E108D #8D3F10
square
#1F8D10 #105D8D #7E108D #8D3F10
split-complementary
#1F8D10 #3F108D #8D105D
monochromatic
#071F04 #13560A #1F8D10 #2BC416 #46E730

Accessibility & contrast

On white

4.31
#1F8D10 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#1F8D10 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8D10
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8D10#FFFFFF#000000##000000
##1F8D101.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#857722
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1f8d10;
/* rgb */ color: rgb(31, 141, 16);
/* oklch */ color: oklch(56.2% 0.180 141.7);
Tailwind
colors: {
  custom: {
    50: '#70af5d',
    500: '#1f8d10',
    950: '#000000',
  },
}
SCSS
$custom: #1f8d10;
$custom-light: #70af5d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8d10",
  "rgb": {
    "r": 31,
    "g": 141,
    "b": 16
  },
  "hsl": {
    "h": 112.8,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.56178,
    "c": 0.18027,
    "h": 141.7
  },
  "luminance": 0.19378
}

Semantic roles & 50–950 ramp

primary
#1F8D10
secondary
#B137C2
accent
#32F6DF
background
#F7FAF5
surface
#EDF5E9
border
#C8CFC5
text
#091105
muted
#7B8079

Preview Lab

Preview with #1F8D10

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

Preview Lab → · Contrast checker → · Palette generator →

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