#5C8236#5C8236

#5C8236 is a mid, moderate yellow-green. Relative luminance 0.185; OKLCH L 56.1% C 0.114 H 131.4°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#5C8236
RGBrgb(92, 130, 54)
HSLhsl(90, 41%, 36%)
HSVhsv(90, 58%, 51%)
CMYKcmyk(29.2%, 0%, 58.5%, 49%)
CIE-LABlab(50.10, -26.91, 36.32)
CIE-LCHlch(50.10, 45.20, 126.54°)
OKLaboklab(56.07% -0.0751 0.0853)
OKLCHoklch(56.07% 0.114 131.4)
XYZxyz(13.0620, 18.5065, 6.3732)
Luminance0.1851 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8236 #5C3682
analogous
#828236 #5C8236 #368236
triadic
#5C8236 #365C82 #82365C
tetradic
#5C8236 #368282 #5C3682 #823636
square
#5C8236 #368282 #5C3682 #823636
split-complementary
#5C8236 #363682 #823682
monochromatic
#1F2C12 #3D5724 #5C8236 #7BAD48 #99C36F

Accessibility & contrast

On white

4.47
#5C8236 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#5C8236 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8236
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8236#FFFFFF#000000##000000
##5C82361.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#87792E
Deuteranopia (green-blind)
#82763B
Tritanopia (blue-blind)
#5D7D71
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5c8236;
/* rgb */ color: rgb(92, 130, 54);
/* oklch */ color: oklch(56.1% 0.114 131.4);
Tailwind
colors: {
  custom: {
    50: '#8ca670',
    500: '#5c8236',
    950: '#000000',
  },
}
SCSS
$custom: #5c8236;
$custom-light: #8ca670;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8236",
  "rgb": {
    "r": 92,
    "g": 130,
    "b": 54
  },
  "hsl": {
    "h": 90,
    "s": 41.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.56066,
    "c": 0.11367,
    "h": 131.4
  },
  "luminance": 0.18507
}

Semantic roles & 50–950 ramp

primary
#5C8236
secondary
#8A68AC
accent
#57D194
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C0F07
muted
#7D7F7A

Preview Lab

Preview with #5C8236

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

Preview Lab → · Contrast checker → · Palette generator →

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