#1F8921#1F8921

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

Color values

HEX#1F8921
RGBrgb(31, 137, 33)
HSLhsl(121, 63%, 33%)
HSVhsv(121, 77%, 54%)
CMYKcmyk(77.4%, 0%, 75.9%, 46.3%)
CIE-LABlab(49.85, -49.49, 44.62)
CIE-LCHlch(49.85, 66.64, 137.96°)
OKLaboklab(55.14% -0.1342 0.1009)
OKLCHoklch(55.14% 0.168 143.1)
XYZxyz(9.7846, 18.2913, 4.4534)
Luminance0.1829 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8921 #891F87
analogous
#52891F #1F8921 #1F8956
triadic
#1F8921 #211F89 #89211F
tetradic
#1F8921 #1F5289 #891F87 #89561F
square
#1F8921 #1F5289 #891F87 #89561F
split-complementary
#1F8921 #561F89 #891F52
monochromatic
#082509 #145715 #1F8921 #2ABB2D #4CD64F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F8921#FFFFFF#000000##000000
##1F89211.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)
#8C7B0D
Deuteranopia (green-blind)
#80732C
Tritanopia (blue-blind)
#008575
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #1f8921;
/* rgb */ color: rgb(31, 137, 33);
/* oklch */ color: oklch(55.1% 0.168 143.1);
Tailwind
colors: {
  custom: {
    50: '#6eac64',
    500: '#1f8921',
    950: '#000000',
  },
}
SCSS
$custom: #1f8921;
$custom-light: #6eac64;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8921",
  "rgb": {
    "r": 31,
    "g": 137,
    "b": 33
  },
  "hsl": {
    "h": 121.132,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55142,
    "c": 0.16792,
    "h": 143.1
  },
  "luminance": 0.18292
}

Semantic roles & 50–950 ramp

primary
#1F8921
secondary
#B94BB7
accent
#42E3E6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1F8921

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

Preview Lab → · Contrast checker → · Palette generator →

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