#1F8320#1F8320

#1F8320 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.4% C 0.162 H 143.0°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#1F8320
RGBrgb(31, 131, 32)
HSLhsl(121, 62%, 32%)
HSVhsv(121, 76%, 51%)
CMYKcmyk(76.3%, 0%, 75.6%, 48.6%)
CIE-LABlab(47.79, -47.54, 42.92)
CIE-LCHlch(47.79, 64.05, 137.93°)
OKLaboklab(53.43% -0.129 0.0972)
OKLCHoklch(53.43% 0.162 143)
XYZxyz(8.9415, 16.6272, 4.1043)
Luminance0.1663 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8320 #831F82
analogous
#50831F #1F8320 #1F8352
triadic
#1F8320 #201F83 #83201F
tetradic
#1F8320 #1F5083 #831F82 #83521F
square
#1F8320 #1F5083 #831F82 #83521F
split-complementary
#1F8320 #521F83 #831F50
monochromatic
#082008 #135214 #1F8320 #2BB42C #49D44A

Accessibility & contrast

On white

4.85
#1F8320 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#1F8320 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8320
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8320#FFFFFF#000000##FFFFFF
##1F83201.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86760E
Deuteranopia (green-blind)
#7B6E2A
Tritanopia (blue-blind)
#007F70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1f8320;
/* rgb */ color: rgb(31, 131, 32);
/* oklch */ color: oklch(53.4% 0.162 143.0);
Tailwind
colors: {
  custom: {
    50: '#6ca862',
    500: '#1f8320',
    950: '#000000',
  },
}
SCSS
$custom: #1f8320;
$custom-light: #6ca862;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8320",
  "rgb": {
    "r": 31,
    "g": 131,
    "b": 32
  },
  "hsl": {
    "h": 120.6,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53428,
    "c": 0.16151,
    "h": 143
  },
  "luminance": 0.16628
}

Semantic roles & 50–950 ramp

primary
#1F8320
secondary
#B648B5
accent
#43E3E5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #1F8320

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

Preview Lab → · Contrast checker → · Palette generator →

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