#5C9331#5C9331

#5C9331 is a mid, vivid yellow-green. Relative luminance 0.234; OKLCH L 60.4% C 0.142 H 134.0°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#5C9331
RGBrgb(92, 147, 49)
HSLhsl(94, 50%, 38%)
HSVhsv(94, 67%, 58%)
CMYKcmyk(37.4%, 0%, 66.7%, 42.4%)
CIE-LABlab(55.45, -35.36, 44.60)
CIE-LCHlch(55.45, 56.92, 128.41°)
OKLaboklab(60.4% -0.0987 0.1024)
OKLCHoklch(60.4% 0.142 134)
XYZxyz(15.4014, 23.3638, 6.6033)
Luminance0.2336 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C9331 #683193
analogous
#8D9331 #5C9331 #319337
triadic
#5C9331 #315C93 #93315C
tetradic
#5C9331 #318D93 #683193 #933731
square
#5C9331 #318D93 #683193 #933731
split-complementary
#5C9331 #373193 #93318D
monochromatic
#233712 #3F6522 #5C9331 #79C041 #99CF6F

Accessibility & contrast

On white

3.70
#5C9331 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#5C9331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C9331
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C9331#FFFFFF#000000##000000
##5C93311.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#998824
Deuteranopia (green-blind)
#918339
Tritanopia (blue-blind)
#5C8D7F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5c9331;
/* rgb */ color: rgb(92, 147, 49);
/* oklch */ color: oklch(60.4% 0.142 134.0);
Tailwind
colors: {
  custom: {
    50: '#8eb36e',
    500: '#5c9331',
    950: '#000000',
  },
}
SCSS
$custom: #5c9331;
$custom-light: #8eb36e;
$custom-dark: #000000;
JSON
{
  "hex": "#5c9331",
  "rgb": {
    "r": 92,
    "g": 147,
    "b": 49
  },
  "hsl": {
    "h": 93.673,
    "s": 50,
    "l": 38.431
  },
  "oklch": {
    "l": 0.60396,
    "c": 0.14222,
    "h": 134
  },
  "luminance": 0.23364
}

Semantic roles & 50–950 ramp

primary
#5C9331
secondary
#9569B7
accent
#4EDA9C
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5C9331

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

Preview Lab → · Contrast checker → · Palette generator →

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