#1F8331#1F8331

#1F8331 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.6% C 0.149 H 145.8°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#1F8331
RGBrgb(31, 131, 49)
HSLhsl(131, 62%, 32%)
HSVhsv(131, 76%, 51%)
CMYKcmyk(76.3%, 0%, 62.6%, 48.6%)
CIE-LABlab(47.94, -45.72, 35.64)
CIE-LCHlch(47.94, 57.97, 142.07°)
OKLaboklab(53.6% -0.1233 0.0838)
OKLCHoklch(53.6% 0.149 145.8)
XYZxyz(9.2351, 16.7446, 5.6505)
Luminance0.1675 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8331 #831F71
analogous
#3F831F #1F8331 #1F8363
triadic
#1F8331 #311F83 #83311F
tetradic
#1F8331 #1F3F83 #831F71 #83631F
square
#1F8331 #1F3F83 #831F71 #83631F
split-complementary
#1F8331 #631F83 #831F3F
monochromatic
#08200C #13521E #1F8331 #2BB444 #49D462

Accessibility & contrast

On white

4.83
#1F8331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#1F8331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8331
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8331#FFFFFF#000000##FFFFFF
##1F83311.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857728
Deuteranopia (green-blind)
#7A6F38
Tritanopia (blue-blind)
#008071
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1f8331;
/* rgb */ color: rgb(31, 131, 49);
/* oklch */ color: oklch(53.6% 0.149 145.8);
Tailwind
colors: {
  custom: {
    50: '#6ca86c',
    500: '#1f8331',
    950: '#000000',
  },
}
SCSS
$custom: #1f8331;
$custom-light: #6ca86c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8331",
  "rgb": {
    "r": 31,
    "g": 131,
    "b": 49
  },
  "hsl": {
    "h": 130.8,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53601,
    "c": 0.14908,
    "h": 145.8
  },
  "luminance": 0.16746
}

Semantic roles & 50–950 ramp

primary
#1F8331
secondary
#B648A2
accent
#43C8E5
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081007
muted
#7A7F7A

Preview Lab

Preview with #1F8331

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

Preview Lab → · Contrast checker → · Palette generator →

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