#1F9532#1F9532

#1F9532 is a mid, vivid green. Relative luminance 0.220; OKLCH L 58.7% C 0.171 H 145.1°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#1F9532
RGBrgb(31, 149, 50)
HSLhsl(130, 66%, 35%)
HSVhsv(130, 79%, 58%)
CMYKcmyk(79.2%, 0%, 66.4%, 41.6%)
CIE-LABlab(54.04, -51.86, 42.04)
CIE-LCHlch(54.04, 66.76, 140.97°)
OKLaboklab(58.67% -0.1399 0.0976)
OKLCHoklch(58.67% 0.171 145.1)
XYZxyz(11.8874, 22.0151, 6.6398)
Luminance0.2202 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9532 #951F82
analogous
#47951F #1F9532 #1F956D
triadic
#1F9532 #321F95 #95321F
tetradic
#1F9532 #1F4795 #951F82 #956D1F
square
#1F9532 #1F4795 #951F82 #956D1F
split-complementary
#1F9532 #6D1F95 #951F47
monochromatic
#0A3010 #146221 #1F9532 #2AC843 #53DB69

Accessibility & contrast

On white

3.89
#1F9532 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#1F9532 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9532
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9532#FFFFFF#000000##000000
##1F95321.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#988726
Deuteranopia (green-blind)
#8B7E3B
Tritanopia (blue-blind)
#009180
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #1f9532;
/* rgb */ color: rgb(31, 149, 50);
/* oklch */ color: oklch(58.7% 0.171 145.1);
Tailwind
colors: {
  custom: {
    50: '#70b56e',
    500: '#1f9532',
    950: '#000000',
  },
}
SCSS
$custom: #1f9532;
$custom-light: #70b56e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9532",
  "rgb": {
    "r": 31,
    "g": 149,
    "b": 50
  },
  "hsl": {
    "h": 129.661,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.58671,
    "c": 0.17058,
    "h": 145.1
  },
  "luminance": 0.22016
}

Semantic roles & 50–950 ramp

primary
#1F9532
secondary
#BF51AD
accent
#3FCDE9
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #1F9532

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

Preview Lab → · Contrast checker → · Palette generator →

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