#1F9E1E#1F9E1E

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

Color values

HEX#1F9E1E
RGBrgb(31, 158, 30)
HSLhsl(120, 68%, 37%)
HSVhsv(120, 81%, 62%)
CMYKcmyk(80.4%, 0%, 81%, 38%)
CIE-LABlab(56.92, -56.51, 52.53)
CIE-LCHlch(56.92, 77.16, 137.09°)
OKLaboklab(61.02% -0.1534 0.117)
OKLCHoklch(61.02% 0.193 142.7)
XYZxyz(13.0255, 24.8372, 5.3356)
Luminance0.2484 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9E1E #9D1E9E
analogous
#5F9E1E #1F9E1E #1E9E5D
triadic
#1F9E1E #1E1F9E #9E1E1F
tetradic
#1F9E1E #1E5F9E #9D1E9E #9E5D1E
square
#1F9E1E #1E5F9E #9D1E9E #9E5D1E
split-complementary
#1F9E1E #5D1E9E #9E1E5F
monochromatic
#0B370A #156B14 #1F9E1E #29D128 #58DF57

Accessibility & contrast

On white

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

On black

5.97
#1F9E1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9E1E
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9E1E#FFFFFF#000000##000000
##1F9E1E1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f9e1e;
/* rgb */ color: rgb(31, 158, 30);
/* oklch */ color: oklch(61.0% 0.193 142.7);
Tailwind
colors: {
  custom: {
    50: '#73bc65',
    500: '#1f9e1e',
    950: '#000000',
  },
}
SCSS
$custom: #1f9e1e;
$custom-light: #73bc65;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9e1e",
  "rgb": {
    "r": 31,
    "g": 158,
    "b": 30
  },
  "hsl": {
    "h": 119.531,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.61015,
    "c": 0.19293,
    "h": 142.7
  },
  "luminance": 0.24839
}

Semantic roles & 50–950 ramp

primary
#1F9E1E
secondary
#C255C3
accent
#3DEBEA
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #1F9E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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