#1F8924#1F8924

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

Color values

HEX#1F8924
RGBrgb(31, 137, 36)
HSLhsl(123, 63%, 33%)
HSVhsv(123, 77%, 54%)
CMYKcmyk(77.4%, 0%, 73.7%, 46.3%)
CIE-LABlab(49.87, -49.23, 43.48)
CIE-LCHlch(49.87, 65.69, 138.55°)
OKLaboklab(55.17% -0.1334 0.0989)
OKLCHoklch(55.17% 0.166 143.4)
XYZxyz(9.8285, 18.3089, 4.6847)
Luminance0.1831 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8924 #891F84
analogous
#4F891F #1F8924 #1F8959
triadic
#1F8924 #241F89 #89241F
tetradic
#1F8924 #1F4F89 #891F84 #89591F
square
#1F8924 #1F4F89 #891F84 #89591F
split-complementary
#1F8924 #591F89 #891F4F
monochromatic
#08250A #145717 #1F8924 #2ABB31 #4CD652

Accessibility & contrast

On white

4.50
#1F8924 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F8924#FFFFFF#000000##000000
##1F89241.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f8924;
/* rgb */ color: rgb(31, 137, 36);
/* oklch */ color: oklch(55.2% 0.166 143.4);
Tailwind
colors: {
  custom: {
    50: '#6eac65',
    500: '#1f8924',
    950: '#000000',
  },
}
SCSS
$custom: #1f8924;
$custom-light: #6eac65;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8924",
  "rgb": {
    "r": 31,
    "g": 137,
    "b": 36
  },
  "hsl": {
    "h": 122.83,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55167,
    "c": 0.16607,
    "h": 143.4
  },
  "luminance": 0.1831
}

Semantic roles & 50–950 ramp

primary
#1F8924
secondary
#B94BB4
accent
#42DEE6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1F8924

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

Preview Lab → · Contrast checker → · Palette generator →

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