#5C8335#5C8335

#5C8335 is a mid, moderate yellow-green. Relative luminance 0.188; OKLCH L 56.3% C 0.116 H 131.4°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#5C8335
RGBrgb(92, 131, 53)
HSLhsl(90, 42%, 36%)
HSVhsv(90, 60%, 51%)
CMYKcmyk(29.8%, 0%, 59.5%, 48.6%)
CIE-LABlab(50.41, -27.50, 37.16)
CIE-LCHlch(50.41, 46.23, 126.50°)
OKLaboklab(56.31% -0.0768 0.087)
OKLCHoklch(56.31% 0.116 131.4)
XYZxyz(13.1724, 18.7646, 6.2954)
Luminance0.1877 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8335 #5C3583
analogous
#838335 #5C8335 #358335
triadic
#5C8335 #355C83 #83355C
tetradic
#5C8335 #358383 #5C3583 #833535
square
#5C8335 #358383 #5C3583 #833535
split-complementary
#5C8335 #353583 #833583
monochromatic
#1F2C12 #3D5723 #5C8335 #7BAF47 #99C46E

Accessibility & contrast

On white

4.42
#5C8335 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#5C8335 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8335
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8335#FFFFFF#000000##000000
##5C83351.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#887A2D
Deuteranopia (green-blind)
#83773A
Tritanopia (blue-blind)
#5D7E72
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5c8335;
/* rgb */ color: rgb(92, 131, 53);
/* oklch */ color: oklch(56.3% 0.116 131.4);
Tailwind
colors: {
  custom: {
    50: '#8da76f',
    500: '#5c8335',
    950: '#000000',
  },
}
SCSS
$custom: #5c8335;
$custom-light: #8da76f;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8335",
  "rgb": {
    "r": 92,
    "g": 131,
    "b": 53
  },
  "hsl": {
    "h": 90,
    "s": 42.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.56311,
    "c": 0.11609,
    "h": 131.4
  },
  "luminance": 0.18765
}

Semantic roles & 50–950 ramp

primary
#5C8335
secondary
#8A67AD
accent
#56D294
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C0F07
muted
#7D7F7A

Preview Lab

Preview with #5C8335

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

Preview Lab → · Contrast checker → · Palette generator →

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