#1F8832#1F8832

#1F8832 is a mid, vivid green. Relative luminance 0.181; OKLCH L 55.0% C 0.155 H 145.7°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#1F8832
RGBrgb(31, 136, 50)
HSLhsl(131, 63%, 33%)
HSVhsv(131, 77%, 53%)
CMYKcmyk(77.2%, 0%, 63.2%, 46.7%)
CIE-LABlab(49.65, -47.38, 37.12)
CIE-LCHlch(49.65, 60.19, 141.92°)
OKLaboklab(55.03% -0.1277 0.0871)
OKLCHoklch(55.03% 0.155 145.7)
XYZxyz(9.9442, 18.1288, 5.9921)
Luminance0.1813 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8832 #881F75
analogous
#41881F #1F8832 #1F8866
triadic
#1F8832 #321F88 #88321F
tetradic
#1F8832 #1F4188 #881F75 #88661F
square
#1F8832 #1F4188 #881F75 #88661F
split-complementary
#1F8832 #661F88 #881F41
monochromatic
#08240D #145620 #1F8832 #2ABA44 #4BD664

Accessibility & contrast

On white

4.54
#1F8832 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#1F8832 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8832
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8832#FFFFFF#000000##000000
##1F88321.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B28
Deuteranopia (green-blind)
#7E7339
Tritanopia (blue-blind)
#008576
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #1f8832;
/* rgb */ color: rgb(31, 136, 50);
/* oklch */ color: oklch(55.0% 0.155 145.7);
Tailwind
colors: {
  custom: {
    50: '#6dac6d',
    500: '#1f8832',
    950: '#000000',
  },
}
SCSS
$custom: #1f8832;
$custom-light: #6dac6d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8832",
  "rgb": {
    "r": 31,
    "g": 136,
    "b": 50
  },
  "hsl": {
    "h": 130.857,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55026,
    "c": 0.1546,
    "h": 145.7
  },
  "luminance": 0.1813
}

Semantic roles & 50–950 ramp

primary
#1F8832
secondary
#B94AA5
accent
#42C8E6
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #1F8832

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

Preview Lab → · Contrast checker → · Palette generator →

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