#1F8232#1F8232

#1F8232 is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.3% C 0.147 H 146.1°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#1F8232
RGBrgb(31, 130, 50)
HSLhsl(132, 61%, 32%)
HSVhsv(132, 76%, 51%)
CMYKcmyk(76.2%, 0%, 61.5%, 49%)
CIE-LABlab(47.61, -45.23, 34.77)
CIE-LCHlch(47.61, 57.05, 142.45°)
OKLaboklab(53.33% -0.1219 0.082)
OKLCHoklch(53.33% 0.147 146.1)
XYZxyz(9.1228, 16.4858, 5.7183)
Luminance0.1649 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8232 #821F6F
analogous
#3E821F #1F8232 #1F8264
triadic
#1F8232 #321F82 #82321F
tetradic
#1F8232 #1F3E82 #821F6F #82641F
square
#1F8232 #1F3E82 #821F6F #82641F
split-complementary
#1F8232 #641F82 #821F3E
monochromatic
#071F0C #13511F #1F8232 #2BB345 #48D363

Accessibility & contrast

On white

4.89
#1F8232 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#1F8232 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8232
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8232#FFFFFF#000000##FFFFFF
##1F82321.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84762A
Deuteranopia (green-blind)
#796E39
Tritanopia (blue-blind)
#007F71
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1f8232;
/* rgb */ color: rgb(31, 130, 50);
/* oklch */ color: oklch(53.3% 0.147 146.1);
Tailwind
colors: {
  custom: {
    50: '#6ba76d',
    500: '#1f8232',
    950: '#000000',
  },
}
SCSS
$custom: #1f8232;
$custom-light: #6ba76d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8232",
  "rgb": {
    "r": 31,
    "g": 130,
    "b": 50
  },
  "hsl": {
    "h": 131.515,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5333,
    "c": 0.14695,
    "h": 146.1
  },
  "luminance": 0.16487
}

Semantic roles & 50–950 ramp

primary
#1F8232
secondary
#B548A0
accent
#43C6E5
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#081007
muted
#7A7F7A

Preview Lab

Preview with #1F8232

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

Preview Lab → · Contrast checker → · Palette generator →

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