#5F9232#5F9232

#5F9232 is a mid, vivid yellow-green. Relative luminance 0.232; OKLCH L 60.3% C 0.138 H 133.0°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#5F9232
RGBrgb(95, 146, 50)
HSLhsl(92, 49%, 38%)
HSVhsv(92, 66%, 57%)
CMYKcmyk(34.9%, 0%, 65.8%, 42.7%)
CIE-LABlab(55.30, -33.72, 44.05)
CIE-LCHlch(55.30, 55.48, 127.43°)
OKLaboklab(60.32% -0.0943 0.1013)
OKLCHoklch(60.32% 0.138 133)
XYZxyz(15.5737, 23.2203, 6.6784)
Luminance0.2322 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9232 #653292
analogous
#8F9232 #5F9232 #329235
triadic
#5F9232 #325F92 #92325F
tetradic
#5F9232 #328F92 #653292 #923532
square
#5F9232 #328F92 #653292 #923532
split-complementary
#5F9232 #353292 #92328F
monochromatic
#243713 #416422 #5F9232 #7DBF43 #9CCE70

Accessibility & contrast

On white

3.72
#5F9232 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#5F9232 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9232
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9232#FFFFFF#000000##000000
##5F92321.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#988726
Deuteranopia (green-blind)
#91833A
Tritanopia (blue-blind)
#608C7E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5f9232;
/* rgb */ color: rgb(95, 146, 50);
/* oklch */ color: oklch(60.3% 0.138 133.0);
Tailwind
colors: {
  custom: {
    50: '#90b26f',
    500: '#5f9232',
    950: '#000000',
  },
}
SCSS
$custom: #5f9232;
$custom-light: #90b26f;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9232",
  "rgb": {
    "r": 95,
    "g": 146,
    "b": 50
  },
  "hsl": {
    "h": 91.875,
    "s": 48.98,
    "l": 38.431
  },
  "oklch": {
    "l": 0.60323,
    "c": 0.13843,
    "h": 133
  },
  "luminance": 0.23221
}

Semantic roles & 50–950 ramp

primary
#5F9232
secondary
#926AB6
accent
#4FD998
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5F9232

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

Preview Lab → · Contrast checker → · Palette generator →

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