#5F9732#5F9732

#5F9732 is a mid, vivid yellow-green. Relative luminance 0.248; OKLCH L 61.6% C 0.145 H 133.8°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#5F9732
RGBrgb(95, 151, 50)
HSLhsl(93, 50%, 39%)
HSVhsv(93, 67%, 59%)
CMYKcmyk(37.1%, 0%, 66.9%, 40.8%)
CIE-LABlab(56.88, -35.98, 45.75)
CIE-LCHlch(56.88, 58.21, 128.18°)
OKLaboklab(61.61% -0.1005 0.1049)
OKLCHoklch(61.61% 0.145 133.8)
XYZxyz(16.3614, 24.7957, 6.9410)
Luminance0.2480 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9732 #6A3297
analogous
#929732 #5F9732 #329737
triadic
#5F9732 #325F97 #97325F
tetradic
#5F9732 #329297 #6A3297 #973732
square
#5F9732 #329297 #6A3297 #973732
split-complementary
#5F9732 #373297 #973292
monochromatic
#253B14 #426923 #5F9732 #7CC145 #9DD173

Accessibility & contrast

On white

3.52
#5F9732 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#5F9732 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9732
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9732#FFFFFF#000000##000000
##5F97321.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B25
Deuteranopia (green-blind)
#95873A
Tritanopia (blue-blind)
#5F9182
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5f9732;
/* rgb */ color: rgb(95, 151, 50);
/* oklch */ color: oklch(61.6% 0.145 133.8);
Tailwind
colors: {
  custom: {
    50: '#91b66f',
    500: '#5f9732',
    950: '#000000',
  },
}
SCSS
$custom: #5f9732;
$custom-light: #91b66f;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9732",
  "rgb": {
    "r": 95,
    "g": 151,
    "b": 50
  },
  "hsl": {
    "h": 93.267,
    "s": 50.249,
    "l": 39.412
  },
  "oklch": {
    "l": 0.61609,
    "c": 0.14528,
    "h": 133.8
  },
  "luminance": 0.24796
}

Semantic roles & 50–950 ramp

primary
#5F9732
secondary
#976CB9
accent
#4EDA9C
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1108
muted
#7E807B

Preview Lab

Preview with #5F9732

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

Preview Lab → · Contrast checker → · Palette generator →

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