#1F9032#1F9032

#1F9032 is a mid, vivid green. Relative luminance 0.205; OKLCH L 57.3% C 0.165 H 145.3°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#1F9032
RGBrgb(31, 144, 50)
HSLhsl(130, 65%, 34%)
HSVhsv(130, 78%, 56%)
CMYKcmyk(78.5%, 0%, 65.3%, 43.5%)
CIE-LABlab(52.36, -50.16, 40.17)
CIE-LCHlch(52.36, 64.27, 141.31°)
OKLaboklab(57.27% -0.1353 0.0936)
OKLCHoklch(57.27% 0.165 145.3)
XYZxyz(11.1133, 20.4668, 6.3818)
Luminance0.2047 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9032 #901F7D
analogous
#45901F #1F9032 #1F906A
triadic
#1F9032 #321F90 #90321F
tetradic
#1F9032 #1F4590 #901F7D #906A1F
square
#1F9032 #1F4590 #901F7D #906A1F
split-complementary
#1F9032 #6A1F90 #901F45
monochromatic
#092B0F #145E21 #1F9032 #2AC243 #50D967

Accessibility & contrast

On white

4.12
#1F9032 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#1F9032 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9032
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9032#FFFFFF#000000##000000
##1F90321.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928227
Deuteranopia (green-blind)
#867A3A
Tritanopia (blue-blind)
#008C7C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #1f9032;
/* rgb */ color: rgb(31, 144, 50);
/* oklch */ color: oklch(57.3% 0.165 145.3);
Tailwind
colors: {
  custom: {
    50: '#6fb26e',
    500: '#1f9032',
    950: '#000000',
  },
}
SCSS
$custom: #1f9032;
$custom-light: #6fb26e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9032",
  "rgb": {
    "r": 31,
    "g": 144,
    "b": 50
  },
  "hsl": {
    "h": 130.088,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57274,
    "c": 0.16452,
    "h": 145.3
  },
  "luminance": 0.20468
}

Semantic roles & 50–950 ramp

primary
#1F9032
secondary
#BC4EAA
accent
#40CBE8
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #1F9032

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

Preview Lab → · Contrast checker → · Palette generator →

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