#5C814F#5C814F

#5C814F is a mid, moderate green. Relative luminance 0.185; OKLCH L 56.2% C 0.085 H 137.8°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#5C814F
RGBrgb(92, 129, 79)
HSLhsl(104, 24%, 41%)
HSVhsv(104, 39%, 51%)
CMYKcmyk(28.7%, 0%, 38.8%, 49.4%)
CIE-LABlab(50.14, -23.11, 23.05)
CIE-LCHlch(50.14, 32.64, 135.07°)
OKLaboklab(56.21% -0.0631 0.0571)
OKLCHoklch(56.21% 0.085 137.8)
XYZxyz(13.6748, 18.5399, 10.2537)
Luminance0.1854 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C814F #744F81
analogous
#75814F #5C814F #4F815B
triadic
#5C814F #4F5C81 #814F5C
tetradic
#5C814F #4F7581 #744F81 #815B4F
square
#5C814F #4F7581 #744F81 #815B4F
split-complementary
#5C814F #5B4F81 #814F75
monochromatic
#263521 #415B38 #5C814F #79A46A #9BBB90

Accessibility & contrast

On white

4.46
#5C814F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#5C814F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C814F
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C814F#FFFFFF#000000##000000
##5C814F1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#84794B
Deuteranopia (green-blind)
#7E7652
Tritanopia (blue-blind)
#5B7E74
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5c814f;
/* rgb */ color: rgb(92, 129, 79);
/* oklch */ color: oklch(56.2% 0.085 137.8);
Tailwind
colors: {
  custom: {
    50: '#8ba581',
    500: '#5c814f',
    950: '#000000',
  },
}
SCSS
$custom: #5c814f;
$custom-light: #8ba581;
$custom-dark: #000000;
JSON
{
  "hex": "#5c814f",
  "rgb": {
    "r": 92,
    "g": 129,
    "b": 79
  },
  "hsl": {
    "h": 104.4,
    "s": 24.038,
    "l": 40.784
  },
  "oklch": {
    "l": 0.56214,
    "c": 0.08513,
    "h": 137.8
  },
  "luminance": 0.1854
}

Semantic roles & 50–950 ramp

primary
#5C814F
secondary
#9E84A8
accent
#67C0A9
background
#F8FAF7
surface
#F0F4EE
border
#CBCEC9
text
#0C0F0A
muted
#7D7F7C

Preview Lab

Preview with #5C814F

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

Preview Lab → · Contrast checker → · Palette generator →

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