#5F9223#5F9223

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

Color values

HEX#5F9223
RGBrgb(95, 146, 35)
HSLhsl(88, 61%, 35%)
HSVhsv(88, 76%, 57%)
CMYKcmyk(34.9%, 0%, 76%, 42.7%)
CIE-LABlab(55.19, -34.84, 49.97)
CIE-LCHlch(55.19, 60.91, 124.89°)
OKLaboklab(60.2% -0.0986 0.1115)
OKLCHoklch(60.2% 0.149 131.5)
XYZxyz(15.3014, 23.1114, 5.2445)
Luminance0.2311 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9223 #562392
analogous
#928E23 #5F9223 #279223
triadic
#5F9223 #235F92 #92235F
tetradic
#5F9223 #23928E #562392 #922327
square
#5F9223 #23928E #562392 #922327
split-complementary
#5F9223 #232792 #8E2392
monochromatic
#1F2F0B #3F6117 #5F9223 #7FC32F #9DD758

Accessibility & contrast

On white

3.74
#5F9223 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F9223#FFFFFF#000000##000000
##5F92231.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f9223;
/* rgb */ color: rgb(95, 146, 35);
/* oklch */ color: oklch(60.2% 0.149 131.5);
Tailwind
colors: {
  custom: {
    50: '#91b266',
    500: '#5f9223',
    950: '#000000',
  },
}
SCSS
$custom: #5f9223;
$custom-light: #91b266;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9223",
  "rgb": {
    "r": 95,
    "g": 146,
    "b": 35
  },
  "hsl": {
    "h": 87.568,
    "s": 61.326,
    "l": 35.49
  },
  "oklch": {
    "l": 0.60196,
    "c": 0.14889,
    "h": 131.5
  },
  "luminance": 0.23112
}

Semantic roles & 50–950 ramp

primary
#5F9223
secondary
#8455BB
accent
#43E48D
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5F9223

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

Preview Lab → · Contrast checker → · Palette generator →

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