#5C8741#5C8741

#5C8741 is a mid, moderate yellow-green. Relative luminance 0.200; OKLCH L 57.5% C 0.110 H 134.6°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#5C8741
RGBrgb(92, 135, 65)
HSLhsl(97, 35%, 39%)
HSVhsv(97, 52%, 53%)
CMYKcmyk(31.9%, 0%, 51.9%, 47.1%)
CIE-LABlab(51.82, -28.07, 32.75)
CIE-LCHlch(51.82, 43.14, 130.60°)
OKLaboklab(57.5% -0.0775 0.0785)
OKLCHoklch(57.5% 0.11 134.6)
XYZxyz(14.0314, 19.9844, 8.1181)
Luminance0.1998 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8741 #6C4187
analogous
#7F8741 #5C8741 #418749
triadic
#5C8741 #415C87 #87415C
tetradic
#5C8741 #417F87 #6C4187 #874941
square
#5C8741 #417F87 #6C4187 #874941
split-complementary
#5C8741 #494187 #87417F
monochromatic
#243419 #405E2D #5C8741 #79AE57 #9AC280

Accessibility & contrast

On white

4.20
#5C8741 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#5C8741 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8741
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8741#FFFFFF#000000##000000
##5C87411.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7E3B
Deuteranopia (green-blind)
#857A45
Tritanopia (blue-blind)
#5C8277
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5c8741;
/* rgb */ color: rgb(92, 135, 65);
/* oklch */ color: oklch(57.5% 0.110 134.6);
Tailwind
colors: {
  custom: {
    50: '#8caa77',
    500: '#5c8741',
    950: '#000000',
  },
}
SCSS
$custom: #5c8741;
$custom-light: #8caa77;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8741",
  "rgb": {
    "r": 92,
    "g": 135,
    "b": 65
  },
  "hsl": {
    "h": 96.857,
    "s": 35,
    "l": 39.216
  },
  "oklch": {
    "l": 0.57501,
    "c": 0.11028,
    "h": 134.6
  },
  "luminance": 0.19985
}

Semantic roles & 50–950 ramp

primary
#5C8741
secondary
#9877AD
accent
#5DCBA1
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0C1009
muted
#7D7F7B

Preview Lab

Preview with #5C8741

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

Preview Lab → · Contrast checker → · Palette generator →

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