#1F9232#1F9232

#1F9232 is a mid, vivid green. Relative luminance 0.211; OKLCH L 57.8% C 0.167 H 145.2°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#1F9232
RGBrgb(31, 146, 50)
HSLhsl(130, 65%, 35%)
HSVhsv(130, 79%, 57%)
CMYKcmyk(78.8%, 0%, 65.8%, 42.7%)
CIE-LABlab(53.03, -50.85, 40.93)
CIE-LCHlch(53.03, 65.27, 141.17°)
OKLaboklab(57.83% -0.1371 0.0952)
OKLCHoklch(57.83% 0.167 145.2)
XYZxyz(11.4189, 21.0780, 6.4836)
Luminance0.2108 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9232 #921F7F
analogous
#46921F #1F9232 #1F926C
triadic
#1F9232 #321F92 #92321F
tetradic
#1F9232 #1F4692 #921F7F #926C1F
square
#1F9232 #1F4692 #921F7F #926C1F
split-complementary
#1F9232 #6C1F92 #921F46
monochromatic
#0A2D0F #146021 #1F9232 #2AC443 #51DA68

Accessibility & contrast

On white

4.03
#1F9232 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#1F9232 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9232
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9232#FFFFFF#000000##000000
##1F92321.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#948426
Deuteranopia (green-blind)
#887B3B
Tritanopia (blue-blind)
#008E7E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #1f9232;
/* rgb */ color: rgb(31, 146, 50);
/* oklch */ color: oklch(57.8% 0.167 145.2);
Tailwind
colors: {
  custom: {
    50: '#6fb36e',
    500: '#1f9232',
    950: '#000000',
  },
}
SCSS
$custom: #1f9232;
$custom-light: #6fb36e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9232",
  "rgb": {
    "r": 31,
    "g": 146,
    "b": 50
  },
  "hsl": {
    "h": 129.913,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57834,
    "c": 0.16695,
    "h": 145.2
  },
  "luminance": 0.21079
}

Semantic roles & 50–950 ramp

primary
#1F9232
secondary
#BD50AB
accent
#40CCE8
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #1F9232

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

Preview Lab → · Contrast checker → · Palette generator →

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