#1F8A24#1F8A24

#1F8A24 is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.5% C 0.167 H 143.4°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#1F8A24
RGBrgb(31, 138, 36)
HSLhsl(123, 63%, 33%)
HSVhsv(123, 78%, 54%)
CMYKcmyk(77.5%, 0%, 73.9%, 45.9%)
CIE-LABlab(50.21, -49.57, 43.84)
CIE-LCHlch(50.21, 66.17, 138.51°)
OKLaboklab(55.45% -0.1343 0.0997)
OKLCHoklch(55.45% 0.167 143.4)
XYZxyz(9.9713, 18.5945, 4.7323)
Luminance0.1860 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8A24 #8A1F85
analogous
#4F8A1F #1F8A24 #1F8A59
triadic
#1F8A24 #241F8A #8A241F
tetradic
#1F8A24 #1F4F8A #8A1F85 #8A591F
square
#1F8A24 #1F4F8A #8A1F85 #8A591F
split-complementary
#1F8A24 #591F8A #8A1F4F
monochromatic
#09260A #145817 #1F8A24 #2ABC31 #4CD753

Accessibility & contrast

On white

4.45
#1F8A24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#1F8A24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8A24
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8A24#FFFFFF#000000##000000
##1F8A241.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C12
Deuteranopia (green-blind)
#81742E
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #1f8a24;
/* rgb */ color: rgb(31, 138, 36);
/* oklch */ color: oklch(55.5% 0.167 143.4);
Tailwind
colors: {
  custom: {
    50: '#6ead65',
    500: '#1f8a24',
    950: '#000000',
  },
}
SCSS
$custom: #1f8a24;
$custom-light: #6ead65;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8a24",
  "rgb": {
    "r": 31,
    "g": 138,
    "b": 36
  },
  "hsl": {
    "h": 122.804,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.5545,
    "c": 0.16724,
    "h": 143.4
  },
  "luminance": 0.18596
}

Semantic roles & 50–950 ramp

primary
#1F8A24
secondary
#BA4BB4
accent
#41DFE6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1F8A24

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

Preview Lab → · Contrast checker → · Palette generator →

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