#1F9518#1F9518

#1F9518 is a mid, vivid green. Relative luminance 0.219; OKLCH L 58.5% C 0.186 H 142.2°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#1F9518
RGBrgb(31, 149, 24)
HSLhsl(117, 72%, 34%)
HSVhsv(117, 84%, 58%)
CMYKcmyk(79.2%, 0%, 83.9%, 41.6%)
CIE-LABlab(53.87, -54.02, 51.43)
CIE-LCHlch(53.87, 74.59, 136.41°)
OKLaboklab(58.47% -0.1469 0.1138)
OKLCHoklch(58.47% 0.186 142.2)
XYZxyz(11.4767, 21.8508, 4.4767)
Luminance0.2185 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9518 #8E1895
analogous
#5E9518 #1F9518 #189550
triadic
#1F9518 #181F95 #95181F
tetradic
#1F9518 #185E95 #8E1895 #955018
square
#1F9518 #185E95 #8E1895 #955018
split-complementary
#1F9518 #501895 #95185E
monochromatic
#092C07 #146010 #1F9518 #2ACA20 #4FE146

Accessibility & contrast

On white

3.91
#1F9518 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#1F9518 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9518
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9518#FFFFFF#000000##000000
##1F95181.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#8C7D28
Tritanopia (blue-blind)
#00907F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #1f9518;
/* rgb */ color: rgb(31, 149, 24);
/* oklch */ color: oklch(58.5% 0.186 142.2);
Tailwind
colors: {
  custom: {
    50: '#71b561',
    500: '#1f9518',
    950: '#000000',
  },
}
SCSS
$custom: #1f9518;
$custom-light: #71b561;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9518",
  "rgb": {
    "r": 31,
    "g": 149,
    "b": 24
  },
  "hsl": {
    "h": 116.64,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.5847,
    "c": 0.18586,
    "h": 142.2
  },
  "luminance": 0.21852
}

Semantic roles & 50–950 ramp

primary
#1F9518
secondary
#BB46C2
accent
#39EFE5
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #1F9518

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

Preview Lab → · Contrast checker → · Palette generator →

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