#1F9D24#1F9D24

#1F9D24 is a mid, vivid green. Relative luminance 0.245; OKLCH L 60.8% C 0.189 H 143.2°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#1F9D24
RGBrgb(31, 157, 36)
HSLhsl(122, 67%, 37%)
HSVhsv(122, 80%, 62%)
CMYKcmyk(80.3%, 0%, 77.1%, 38.4%)
CIE-LABlab(56.62, -55.78, 50.29)
CIE-LCHlch(56.62, 75.10, 137.97°)
OKLaboklab(60.78% -0.1512 0.1131)
OKLCHoklch(60.78% 0.189 143.2)
XYZxyz(12.9396, 24.5311, 5.7217)
Luminance0.2453 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9D24 #9D1F98
analogous
#599D1F #1F9D24 #1F9D63
triadic
#1F9D24 #241F9D #9D241F
tetradic
#1F9D24 #1F599D #9D1F98 #9D631F
square
#1F9D24 #1F599D #9D1F98 #9D631F
split-complementary
#1F9D24 #631F9D #9D1F59
monochromatic
#0B370D #156A18 #1F9D24 #29D030 #58DE5E

Accessibility & contrast

On white

3.56
#1F9D24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#1F9D24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9D24
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9D24#FFFFFF#000000##000000
##1F9D241.003.565.915.91
#FFFFFF3.561.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E08
Deuteranopia (green-blind)
#938432
Tritanopia (blue-blind)
#009886
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #1f9d24;
/* rgb */ color: rgb(31, 157, 36);
/* oklch */ color: oklch(60.8% 0.189 143.2);
Tailwind
colors: {
  custom: {
    50: '#73bb68',
    500: '#1f9d24',
    950: '#000000',
  },
}
SCSS
$custom: #1f9d24;
$custom-light: #73bb68;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9d24",
  "rgb": {
    "r": 31,
    "g": 157,
    "b": 36
  },
  "hsl": {
    "h": 122.381,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.60775,
    "c": 0.18882,
    "h": 143.2
  },
  "luminance": 0.24533
}

Semantic roles & 50–950 ramp

primary
#1F9D24
secondary
#C256BE
accent
#3EE3EA
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #1F9D24

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

Preview Lab → · Contrast checker → · Palette generator →

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