#5C7310#5C7310

#5C7310 is a mid, vivid yellow-green. Relative luminance 0.146; OKLCH L 51.9% C 0.121 H 122.8°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#5C7310
RGBrgb(92, 115, 16)
HSLhsl(74, 76%, 26%)
HSVhsv(74, 86%, 45%)
CMYKcmyk(20%, 0%, 86.1%, 54.9%)
CIE-LABlab(45.05, -22.17, 46.62)
CIE-LCHlch(45.05, 51.62, 115.43°)
OKLaboklab(51.87% -0.0654 0.1014)
OKLCHoklch(51.87% 0.121 122.8)
XYZxyz(10.6381, 14.5741, 2.7428)
Luminance0.1457 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7310 #271073
analogous
#735810 #5C7310 #2B7310
triadic
#5C7310 #105C73 #73105C
tetradic
#5C7310 #107358 #271073 #73102B
square
#5C7310 #107358 #271073 #73102B
split-complementary
#5C7310 #102B73 #581073
monochromatic
#151B04 #313D09 #5C7310 #87A917 #B2DE1F

Accessibility & contrast

On white

5.36
#5C7310 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#5C7310 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C7310
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7310#FFFFFF#000000##FFFFFF
##5C73101.005.363.915.36
#FFFFFF5.361.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#776A1B
Tritanopia (blue-blind)
#616D61
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5c7310;
/* rgb */ color: rgb(92, 115, 16);
/* oklch */ color: oklch(51.9% 0.121 122.8);
Tailwind
colors: {
  custom: {
    50: '#8e9b5a',
    500: '#5c7310',
    950: '#000000',
  },
}
SCSS
$custom: #5c7310;
$custom-light: #8e9b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7310",
  "rgb": {
    "r": 92,
    "g": 115,
    "b": 16
  },
  "hsl": {
    "h": 73.939,
    "s": 75.573,
    "l": 25.686
  },
  "oklch": {
    "l": 0.51873,
    "c": 0.12065,
    "h": 122.8
  },
  "luminance": 0.14574
}

Semantic roles & 50–950 ramp

primary
#5C7310
secondary
#5034AA
accent
#36F261
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0D0E04
muted
#7D7E79

Preview Lab

Preview with #5C7310

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

Preview Lab → · Contrast checker → · Palette generator →

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