#5F992A#5F992A

#5F992A is a light, vivid yellow-green. Relative luminance 0.254; OKLCH L 62.1% C 0.154 H 133.3°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#5F992A
RGBrgb(95, 153, 42)
HSLhsl(91, 57%, 38%)
HSVhsv(91, 73%, 60%)
CMYKcmyk(37.9%, 0%, 72.5%, 40%)
CIE-LABlab(57.45, -37.49, 49.61)
CIE-LCHlch(57.45, 62.19, 127.08°)
OKLaboklab(62.05% -0.1053 0.1119)
OKLCHoklch(62.05% 0.154 133.3)
XYZxyz(16.5282, 25.3818, 6.2183)
Luminance0.2538 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F992A #642A99
analogous
#96992A #5F992A #2A992C
triadic
#5F992A #2A5F99 #992A5F
tetradic
#5F992A #2A9699 #642A99 #992C2A
square
#5F992A #2A9699 #642A99 #992C2A
split-complementary
#5F992A #2C2A99 #992A96
monochromatic
#233910 #41691D #5F992A #7DC838 #9CD668

Accessibility & contrast

On white

3.46
#5F992A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#5F992A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F992A
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F992A#FFFFFF#000000##000000
##5F992A1.003.466.086.08
#FFFFFF3.461.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D17
Deuteranopia (green-blind)
#978834
Tritanopia (blue-blind)
#5F9383
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5f992a;
/* rgb */ color: rgb(95, 153, 42);
/* oklch */ color: oklch(62.1% 0.154 133.3);
Tailwind
colors: {
  custom: {
    50: '#91b76b',
    500: '#5f992a',
    950: '#000000',
  },
}
SCSS
$custom: #5f992a;
$custom-light: #91b76b;
$custom-dark: #000000;
JSON
{
  "hex": "#5f992a",
  "rgb": {
    "r": 95,
    "g": 153,
    "b": 42
  },
  "hsl": {
    "h": 91.351,
    "s": 56.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.62054,
    "c": 0.15361,
    "h": 133.3
  },
  "luminance": 0.25383
}

Semantic roles & 50–950 ramp

primary
#5F992A
secondary
#9163BC
accent
#48E097
background
#F9FBF6
surface
#F2F6EC
border
#CCD0C7
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5F992A

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

Preview Lab → · Contrast checker → · Palette generator →

#5F992A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva