#5C7916#5C7916

#5C7916 is a mid, vivid yellow-green. Relative luminance 0.160; OKLCH L 53.5% C 0.125 H 125.3°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#5C7916
RGBrgb(92, 121, 22)
HSLhsl(78, 69%, 28%)
HSVhsv(78, 82%, 47%)
CMYKcmyk(24%, 0%, 81.8%, 52.5%)
CIE-LABlab(46.98, -24.93, 46.57)
CIE-LCHlch(46.98, 52.82, 118.17°)
OKLaboklab(53.45% -0.0725 0.1023)
OKLCHoklch(53.45% 0.125 125.3)
XYZxyz(11.3959, 16.0078, 3.2483)
Luminance0.1601 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7916 #331679
analogous
#796416 #5C7916 #2A7916
triadic
#5C7916 #165C79 #79165C
tetradic
#5C7916 #167964 #331679 #79162A
square
#5C7916 #167964 #331679 #79162A
split-complementary
#5C7916 #162A79 #641679
monochromatic
#141A05 #35450D #5C7916 #83AD1F #A8D930

Accessibility & contrast

On white

5.00
#5C7916 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#5C7916 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C7916
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7916#FFFFFF#000000##FFFFFF
##5C79161.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#7C6F20
Tritanopia (blue-blind)
#617367
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5c7916;
/* rgb */ color: rgb(92, 121, 22);
/* oklch */ color: oklch(53.5% 0.125 125.3);
Tailwind
colors: {
  custom: {
    50: '#8e9f5d',
    500: '#5c7916',
    950: '#000000',
  },
}
SCSS
$custom: #5c7916;
$custom-light: #8e9f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7916",
  "rgb": {
    "r": 92,
    "g": 121,
    "b": 22
  },
  "hsl": {
    "h": 77.576,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.53453,
    "c": 0.1254,
    "h": 125.3
  },
  "luminance": 0.16008
}

Semantic roles & 50–950 ramp

primary
#5C7916
secondary
#5E3DAE
accent
#3CEC6F
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0D0E05
muted
#7D7E79

Preview Lab

Preview with #5C7916

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

Preview Lab → · Contrast checker → · Palette generator →

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