#1F9E28#1F9E28

#1F9E28 is a mid, vivid green. Relative luminance 0.249; OKLCH L 61.1% C 0.188 H 143.6°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#1F9E28
RGBrgb(31, 158, 40)
HSLhsl(124, 67%, 37%)
HSVhsv(124, 80%, 62%)
CMYKcmyk(80.4%, 0%, 74.7%, 38%)
CIE-LABlab(56.97, -55.79, 49.21)
CIE-LCHlch(56.97, 74.39, 138.58°)
OKLaboklab(61.08% -0.151 0.1114)
OKLCHoklch(61.08% 0.188 143.6)
XYZxyz(13.1741, 24.8966, 6.1183)
Luminance0.2490 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9E28 #9E1F95
analogous
#569E1F #1F9E28 #1F9E68
triadic
#1F9E28 #281F9E #9E281F
tetradic
#1F9E28 #1F569E #9E1F95 #9E681F
square
#1F9E28 #1F569E #9E1F95 #9E681F
split-complementary
#1F9E28 #681F9E #9E1F56
monochromatic
#0B380E #156B1B #1F9E28 #29D135 #59DE62

Accessibility & contrast

On white

3.51
#1F9E28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#1F9E28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9E28
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9E28#FFFFFF#000000##000000
##1F9E281.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E11
Deuteranopia (green-blind)
#948535
Tritanopia (blue-blind)
#009987
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #1f9e28;
/* rgb */ color: rgb(31, 158, 40);
/* oklch */ color: oklch(61.1% 0.188 143.6);
Tailwind
colors: {
  custom: {
    50: '#73bc6a',
    500: '#1f9e28',
    950: '#000000',
  },
}
SCSS
$custom: #1f9e28;
$custom-light: #73bc6a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9e28",
  "rgb": {
    "r": 31,
    "g": 158,
    "b": 40
  },
  "hsl": {
    "h": 124.252,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61082,
    "c": 0.18767,
    "h": 143.6
  },
  "luminance": 0.24898
}

Semantic roles & 50–950 ramp

primary
#1F9E28
secondary
#C256BB
accent
#3EDEEA
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #1F9E28

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

Preview Lab → · Contrast checker → · Palette generator →

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