#5C7E16#5C7E16

#5C7E16 is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 54.7% C 0.132 H 126.9°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#5C7E16
RGBrgb(92, 126, 22)
HSLhsl(80, 70%, 29%)
HSVhsv(80, 83%, 49%)
CMYKcmyk(27%, 0%, 82.5%, 50.6%)
CIE-LABlab(48.58, -27.39, 48.02)
CIE-LCHlch(48.58, 55.28, 119.70°)
OKLaboklab(54.75% -0.0792 0.1054)
OKLCHoklch(54.75% 0.132 126.9)
XYZxyz(12.0194, 17.2547, 3.4561)
Luminance0.1726 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7E16 #38167E
analogous
#7E6C16 #5C7E16 #287E16
triadic
#5C7E16 #165C7E #7E165C
tetradic
#5C7E16 #167E6C #38167E #7E1628
square
#5C7E16 #167E6C #38167E #7E1628
split-complementary
#5C7E16 #16287E #6C167E
monochromatic
#131A05 #364A0D #5C7E16 #82B21F #A4DB33

Accessibility & contrast

On white

4.72
#5C7E16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#5C7E16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C7E16
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7E16#FFFFFF#000000##FFFFFF
##5C7E161.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#807321
Tritanopia (blue-blind)
#60786B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5c7e16;
/* rgb */ color: rgb(92, 126, 22);
/* oklch */ color: oklch(54.7% 0.132 126.9);
Tailwind
colors: {
  custom: {
    50: '#8ea35e',
    500: '#5c7e16',
    950: '#000000',
  },
}
SCSS
$custom: #5c7e16;
$custom-light: #8ea35e;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7e16",
  "rgb": {
    "r": 92,
    "g": 126,
    "b": 22
  },
  "hsl": {
    "h": 79.615,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.54747,
    "c": 0.13182,
    "h": 126.9
  },
  "luminance": 0.17255
}

Semantic roles & 50–950 ramp

primary
#5C7E16
secondary
#633DB3
accent
#3BED75
background
#F9FAF5
surface
#F1F4E9
border
#CBCEC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5C7E16

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

Preview Lab → · Contrast checker → · Palette generator →

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