#1F9652#1F9652

#1F9652 is a mid, vivid green. Relative luminance 0.227; OKLCH L 59.4% C 0.144 H 152.5°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#1F9652
RGBrgb(31, 150, 82)
HSLhsl(146, 66%, 35%)
HSVhsv(146, 79%, 59%)
CMYKcmyk(79.3%, 0%, 45.3%, 41.2%)
CIE-LABlab(54.77, -47.49, 26.99)
CIE-LCHlch(54.77, 54.63, 150.38°)
OKLaboklab(59.41% -0.1277 0.0665)
OKLCHoklch(59.41% 0.144 152.5)
XYZxyz(12.9932, 22.7116, 11.6800)
Luminance0.2271 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9652 #961F63
analogous
#28961F #1F9652 #1F968D
triadic
#1F9652 #521F96 #96521F
tetradic
#1F9652 #1F2896 #961F63 #968D1F
square
#1F9652 #1F2896 #961F63 #968D1F
split-complementary
#1F9652 #8D1F96 #961F28
monochromatic
#0A311B #156336 #1F9652 #29C96E #54DC8E

Accessibility & contrast

On white

3.79
#1F9652 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#1F9652 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9652
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9652#FFFFFF#000000##000000
##1F96521.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#96894D
Deuteranopia (green-blind)
#897F57
Tritanopia (blue-blind)
#009486
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #1f9652;
/* rgb */ color: rgb(31, 150, 82);
/* oklch */ color: oklch(59.4% 0.144 152.5);
Tailwind
colors: {
  custom: {
    50: '#6fb683',
    500: '#1f9652',
    950: '#000000',
  },
}
SCSS
$custom: #1f9652;
$custom-light: #6fb683;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9652",
  "rgb": {
    "r": 31,
    "g": 150,
    "b": 82
  },
  "hsl": {
    "h": 145.714,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59406,
    "c": 0.14394,
    "h": 152.5
  },
  "luminance": 0.22713
}

Semantic roles & 50–950 ramp

primary
#1F9652
secondary
#BF5290
accent
#3FA0E9
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#09110B
muted
#7B807C

Preview Lab

Preview with #1F9652

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

Preview Lab → · Contrast checker → · Palette generator →

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