#1F9E1F#1F9E1F

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

Color values

HEX#1F9E1F
RGBrgb(31, 158, 31)
HSLhsl(120, 67%, 37%)
HSVhsv(120, 80%, 62%)
CMYKcmyk(80.4%, 0%, 80.4%, 38%)
CIE-LABlab(56.92, -56.45, 52.23)
CIE-LCHlch(56.92, 76.90, 137.22°)
OKLaboklab(61.02% -0.1532 0.1165)
OKLCHoklch(61.02% 0.192 142.8)
XYZxyz(13.0384, 24.8424, 5.4040)
Luminance0.2484 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9E1F #9E1F9E
analogous
#5F9E1F #1F9E1F #1F9E5F
triadic
#1F9E1F #1F1F9E #9E1F1F
tetradic
#1F9E1F #1F5F9E #9E1F9E #9E5F1F
square
#1F9E1F #1F5F9E #9E1F9E #9E5F1F
split-complementary
#1F9E1F #5F1F9E #9E1F5F
monochromatic
#0B380B #156B15 #1F9E1F #29D129 #59DE59

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F9E1F#FFFFFF#000000##000000
##1F9E1F1.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: #1f9e1f;
/* rgb */ color: rgb(31, 158, 31);
/* oklch */ color: oklch(61.0% 0.192 142.8);
Tailwind
colors: {
  custom: {
    50: '#73bc66',
    500: '#1f9e1f',
    950: '#000000',
  },
}
SCSS
$custom: #1f9e1f;
$custom-light: #73bc66;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9e1f",
  "rgb": {
    "r": 31,
    "g": 158,
    "b": 31
  },
  "hsl": {
    "h": 120,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61021,
    "c": 0.19245,
    "h": 142.8
  },
  "luminance": 0.24844
}

Semantic roles & 50–950 ramp

primary
#1F9E1F
secondary
#C256C2
accent
#3EEAEA
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #1F9E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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