#1F8920#1F8920

#1F8920 is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.1% C 0.169 H 143.0°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#1F8920
RGBrgb(31, 137, 32)
HSLhsl(121, 63%, 33%)
HSVhsv(121, 77%, 54%)
CMYKcmyk(77.4%, 0%, 76.6%, 46.3%)
CIE-LABlab(49.84, -49.57, 44.99)
CIE-LCHlch(49.84, 66.94, 137.78°)
OKLaboklab(55.14% -0.1345 0.1015)
OKLCHoklch(55.14% 0.169 143)
XYZxyz(9.7708, 18.2858, 4.3808)
Luminance0.1829 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8920 #891F88
analogous
#53891F #1F8920 #1F8955
triadic
#1F8920 #201F89 #89201F
tetradic
#1F8920 #1F5389 #891F88 #89551F
square
#1F8920 #1F5389 #891F88 #89551F
split-complementary
#1F8920 #551F89 #891F53
monochromatic
#082509 #145714 #1F8920 #2ABB2C #4CD64D

Accessibility & contrast

On white

4.51
#1F8920 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#1F8920 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8920
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8920#FFFFFF#000000##000000
##1F89201.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B0A
Deuteranopia (green-blind)
#80732B
Tritanopia (blue-blind)
#008575
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #1f8920;
/* rgb */ color: rgb(31, 137, 32);
/* oklch */ color: oklch(55.1% 0.169 143.0);
Tailwind
colors: {
  custom: {
    50: '#6eac63',
    500: '#1f8920',
    950: '#000000',
  },
}
SCSS
$custom: #1f8920;
$custom-light: #6eac63;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8920",
  "rgb": {
    "r": 31,
    "g": 137,
    "b": 32
  },
  "hsl": {
    "h": 120.566,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55135,
    "c": 0.16851,
    "h": 143
  },
  "luminance": 0.18287
}

Semantic roles & 50–950 ramp

primary
#1F8920
secondary
#B94BB8
accent
#42E5E6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1F8920

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

Preview Lab → · Contrast checker → · Palette generator →

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