#5D9223#5D9223

#5D9223 is a mid, vivid yellow-green. Relative luminance 0.230; OKLCH L 60.1% C 0.150 H 132.1°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#5D9223
RGBrgb(93, 146, 35)
HSLhsl(89, 61%, 35%)
HSVhsv(89, 76%, 57%)
CMYKcmyk(36.3%, 0%, 76%, 42.7%)
CIE-LABlab(55.08, -35.59, 49.82)
CIE-LCHlch(55.08, 61.23, 125.54°)
OKLaboklab(60.08% -0.1005 0.1113)
OKLCHoklch(60.08% 0.15 132.1)
XYZxyz(15.0963, 23.0057, 5.2349)
Luminance0.2301 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D9223 #582392
analogous
#928F23 #5D9223 #259223
triadic
#5D9223 #235D92 #92235D
tetradic
#5D9223 #23928F #582392 #922325
square
#5D9223 #23928F #582392 #922325
split-complementary
#5D9223 #232592 #8F2392
monochromatic
#1E2F0B #3E6117 #5D9223 #7CC32F #9BD758

Accessibility & contrast

On white

3.75
#5D9223 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#5D9223 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D9223
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D9223#FFFFFF#000000##000000
##5D92231.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#98860B
Deuteranopia (green-blind)
#91822E
Tritanopia (blue-blind)
#5E8C7D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5d9223;
/* rgb */ color: rgb(93, 146, 35);
/* oklch */ color: oklch(60.1% 0.150 132.1);
Tailwind
colors: {
  custom: {
    50: '#8fb266',
    500: '#5d9223',
    950: '#000000',
  },
}
SCSS
$custom: #5d9223;
$custom-light: #8fb266;
$custom-dark: #000000;
JSON
{
  "hex": "#5d9223",
  "rgb": {
    "r": 93,
    "g": 146,
    "b": 35
  },
  "hsl": {
    "h": 88.649,
    "s": 61.326,
    "l": 35.49
  },
  "oklch": {
    "l": 0.60078,
    "c": 0.14997,
    "h": 132.1
  },
  "luminance": 0.23006
}

Semantic roles & 50–950 ramp

primary
#5D9223
secondary
#8655BB
accent
#43E490
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5D9223

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

Preview Lab → · Contrast checker → · Palette generator →

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