#5F9331#5F9331

#5F9331 is a mid, vivid yellow-green. Relative luminance 0.235; OKLCH L 60.6% C 0.141 H 133.0°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#5F9331
RGBrgb(95, 147, 49)
HSLhsl(92, 50%, 38%)
HSVhsv(92, 67%, 58%)
CMYKcmyk(35.4%, 0%, 66.7%, 42.4%)
CIE-LABlab(55.61, -34.26, 44.82)
CIE-LCHlch(55.61, 56.42, 127.39°)
OKLaboklab(60.57% -0.0959 0.1028)
OKLCHoklch(60.57% 0.141 133)
XYZxyz(15.7072, 23.5214, 6.6176)
Luminance0.2352 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9331 #653193
analogous
#909331 #5F9331 #319334
triadic
#5F9331 #315F93 #93315F
tetradic
#5F9331 #319093 #653193 #933431
square
#5F9331 #319093 #653193 #933431
split-complementary
#5F9331 #343193 #933190
monochromatic
#243712 #416522 #5F9331 #7DC041 #9CCF6F

Accessibility & contrast

On white

3.68
#5F9331 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#5F9331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9331
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9331#FFFFFF#000000##000000
##5F93311.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#998824
Deuteranopia (green-blind)
#928439
Tritanopia (blue-blind)
#608D7F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5f9331;
/* rgb */ color: rgb(95, 147, 49);
/* oklch */ color: oklch(60.6% 0.141 133.0);
Tailwind
colors: {
  custom: {
    50: '#90b36e',
    500: '#5f9331',
    950: '#000000',
  },
}
SCSS
$custom: #5f9331;
$custom-light: #90b36e;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9331",
  "rgb": {
    "r": 95,
    "g": 147,
    "b": 49
  },
  "hsl": {
    "h": 91.837,
    "s": 50,
    "l": 38.431
  },
  "oklch": {
    "l": 0.6057,
    "c": 0.14059,
    "h": 133
  },
  "luminance": 0.23522
}

Semantic roles & 50–950 ramp

primary
#5F9331
secondary
#9269B7
accent
#4EDA98
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5F9331

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

Preview Lab → · Contrast checker → · Palette generator →

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