#5F9224#5F9224

#5F9224 is a mid, vivid yellow-green. Relative luminance 0.231; OKLCH L 60.2% C 0.148 H 131.6°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#5F9224
RGBrgb(95, 146, 36)
HSLhsl(88, 60%, 36%)
HSVhsv(88, 75%, 57%)
CMYKcmyk(34.9%, 0%, 75.3%, 42.7%)
CIE-LABlab(55.19, -34.78, 49.61)
CIE-LCHlch(55.19, 60.59, 125.03°)
OKLaboklab(60.2% -0.0984 0.111)
OKLCHoklch(60.2% 0.148 131.6)
XYZxyz(15.3165, 23.1175, 5.3238)
Luminance0.2312 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9224 #572492
analogous
#928E24 #5F9224 #289224
triadic
#5F9224 #245F92 #92245F
tetradic
#5F9224 #24928E #572492 #922428
square
#5F9224 #24928E #572492 #922428
split-complementary
#5F9224 #242892 #8E2492
monochromatic
#1F300C #3F6118 #5F9224 #7FC330 #9DD65A

Accessibility & contrast

On white

3.73
#5F9224 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#5F9224 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9224
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9224#FFFFFF#000000##000000
##5F92241.003.735.625.62
#FFFFFF3.731.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#99870E
Deuteranopia (green-blind)
#92832F
Tritanopia (blue-blind)
#618C7D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5f9224;
/* rgb */ color: rgb(95, 146, 36);
/* oklch */ color: oklch(60.2% 0.148 131.6);
Tailwind
colors: {
  custom: {
    50: '#91b267',
    500: '#5f9224',
    950: '#000000',
  },
}
SCSS
$custom: #5f9224;
$custom-light: #91b267;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9224",
  "rgb": {
    "r": 95,
    "g": 146,
    "b": 36
  },
  "hsl": {
    "h": 87.818,
    "s": 60.44,
    "l": 35.686
  },
  "oklch": {
    "l": 0.60203,
    "c": 0.14829,
    "h": 131.6
  },
  "luminance": 0.23118
}

Semantic roles & 50–950 ramp

primary
#5F9224
secondary
#8557BB
accent
#44E48E
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5F9224

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

Preview Lab → · Contrast checker → · Palette generator →

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