#1F9E1A#1F9E1A

#1F9E1A is a mid, vivid green. Relative luminance 0.248; OKLCH L 61.0% C 0.195 H 142.4°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#1F9E1A
RGBrgb(31, 158, 26)
HSLhsl(118, 72%, 36%)
HSVhsv(118, 84%, 62%)
CMYKcmyk(80.4%, 0%, 83.5%, 38%)
CIE-LABlab(56.90, -56.75, 53.67)
CIE-LCHlch(56.90, 78.11, 136.60°)
OKLaboklab(60.99% -0.1542 0.1188)
OKLCHoklch(60.99% 0.195 142.4)
XYZxyz(12.9776, 24.8180, 5.0835)
Luminance0.2482 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9E1A #991A9E
analogous
#619E1A #1F9E1A #1A9E57
triadic
#1F9E1A #1A1F9E #9E1A1F
tetradic
#1F9E1A #1A619E #991A9E #9E571A
square
#1F9E1A #1A619E #991A9E #9E571A
split-complementary
#1F9E1A #571A9E #9E1A61
monochromatic
#0A3509 #156911 #1F9E1A #29D323 #56E250

Accessibility & contrast

On white

3.52
#1F9E1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#1F9E1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9E1A
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9E1A#FFFFFF#000000##000000
##1F9E1A1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28E00
Deuteranopia (green-blind)
#94852B
Tritanopia (blue-blind)
#009986
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #1f9e1a;
/* rgb */ color: rgb(31, 158, 26);
/* oklch */ color: oklch(61.0% 0.195 142.4);
Tailwind
colors: {
  custom: {
    50: '#74bc64',
    500: '#1f9e1a',
    950: '#000000',
  },
}
SCSS
$custom: #1f9e1a;
$custom-light: #74bc64;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9e1a",
  "rgb": {
    "r": 31,
    "g": 158,
    "b": 26
  },
  "hsl": {
    "h": 117.727,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.60994,
    "c": 0.19467,
    "h": 142.4
  },
  "luminance": 0.2482
}

Semantic roles & 50–950 ramp

primary
#1F9E1A
secondary
#C04FC5
accent
#39EEE8
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #1F9E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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