#1F8632#1F8632

#1F8632 is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.5% C 0.152 H 145.8°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#1F8632
RGBrgb(31, 134, 50)
HSLhsl(131, 62%, 32%)
HSVhsv(131, 77%, 53%)
CMYKcmyk(76.9%, 0%, 62.7%, 47.5%)
CIE-LABlab(48.97, -46.67, 36.34)
CIE-LCHlch(48.97, 59.15, 142.09°)
OKLaboklab(54.46% -0.1258 0.0854)
OKLCHoklch(54.46% 0.152 145.8)
XYZxyz(9.6652, 17.5707, 5.8991)
Luminance0.1757 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8632 #861F73
analogous
#40861F #1F8632 #1F8666
triadic
#1F8632 #321F86 #86321F
tetradic
#1F8632 #1F4086 #861F73 #86661F
square
#1F8632 #1F4086 #861F73 #86661F
split-complementary
#1F8632 #661F86 #861F40
monochromatic
#08230D #14541F #1F8632 #2AB845 #4AD564

Accessibility & contrast

On white

4.65
#1F8632 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#1F8632 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8632
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8632#FFFFFF#000000##FFFFFF
##1F86321.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887929
Deuteranopia (green-blind)
#7C7139
Tritanopia (blue-blind)
#008374
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1f8632;
/* rgb */ color: rgb(31, 134, 50);
/* oklch */ color: oklch(54.5% 0.152 145.8);
Tailwind
colors: {
  custom: {
    50: '#6caa6d',
    500: '#1f8632',
    950: '#000000',
  },
}
SCSS
$custom: #1f8632;
$custom-light: #6caa6d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8632",
  "rgb": {
    "r": 31,
    "g": 134,
    "b": 50
  },
  "hsl": {
    "h": 131.068,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54462,
    "c": 0.15207,
    "h": 145.8
  },
  "luminance": 0.17572
}

Semantic roles & 50–950 ramp

primary
#1F8632
secondary
#B849A3
accent
#42C7E5
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #1F8632

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

Preview Lab → · Contrast checker → · Palette generator →

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