#1F9836#1F9836

#1F9836 is a mid, vivid green. Relative luminance 0.230; OKLCH L 59.5% C 0.171 H 145.6°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#1F9836
RGBrgb(31, 152, 54)
HSLhsl(131, 66%, 36%)
HSVhsv(131, 80%, 60%)
CMYKcmyk(79.6%, 0%, 64.5%, 40.4%)
CIE-LABlab(55.09, -52.42, 41.41)
CIE-LCHlch(55.09, 66.80, 141.69°)
OKLaboklab(59.55% -0.1413 0.0966)
OKLCHoklch(59.55% 0.171 145.6)
XYZxyz(12.4583, 23.0126, 7.2746)
Luminance0.2301 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9836 #981F81
analogous
#44981F #1F9836 #1F9872
triadic
#1F9836 #361F98 #98361F
tetradic
#1F9836 #1F4498 #981F81 #98721F
square
#1F9836 #1F4498 #981F81 #98721F
split-complementary
#1F9836 #721F98 #981F44
monochromatic
#0A3212 #156524 #1F9836 #29CB48 #55DC6F

Accessibility & contrast

On white

3.75
#1F9836 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#1F9836 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9836
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9836#FFFFFF#000000##000000
##1F98361.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A892A
Deuteranopia (green-blind)
#8D803F
Tritanopia (blue-blind)
#009483
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #1f9836;
/* rgb */ color: rgb(31, 152, 54);
/* oklch */ color: oklch(59.5% 0.171 145.6);
Tailwind
colors: {
  custom: {
    50: '#71b771',
    500: '#1f9836',
    950: '#000000',
  },
}
SCSS
$custom: #1f9836;
$custom-light: #71b771;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9836",
  "rgb": {
    "r": 31,
    "g": 152,
    "b": 54
  },
  "hsl": {
    "h": 131.405,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59549,
    "c": 0.17115,
    "h": 145.6
  },
  "luminance": 0.23014
}

Semantic roles & 50–950 ramp

primary
#1F9836
secondary
#C053AB
accent
#3FC9E9
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #1F9836

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

Preview Lab → · Contrast checker → · Palette generator →

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