#5C7D16#5C7D16

#5C7D16 is a mid, vivid yellow-green. Relative luminance 0.170; OKLCH L 54.5% C 0.131 H 126.6°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#5C7D16
RGBrgb(92, 125, 22)
HSLhsl(79, 70%, 29%)
HSVhsv(79, 82%, 49%)
CMYKcmyk(26.4%, 0%, 82.4%, 51%)
CIE-LABlab(48.26, -26.91, 47.73)
CIE-LCHlch(48.26, 54.79, 119.41°)
OKLaboklab(54.49% -0.0779 0.1048)
OKLCHoklch(54.49% 0.131 126.6)
XYZxyz(11.8921, 17.0002, 3.4137)
Luminance0.1700 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7D16 #37167D
analogous
#7D6B16 #5C7D16 #297D16
triadic
#5C7D16 #165C7D #7D165C
tetradic
#5C7D16 #167D6B #37167D #7D1629
square
#5C7D16 #167D6B #37167D #7D1629
split-complementary
#5C7D16 #16297D #6B167D
monochromatic
#131A05 #36490D #5C7D16 #82B11F #A5DB32

Accessibility & contrast

On white

4.77
#5C7D16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#5C7D16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C7D16
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7D16#FFFFFF#000000##FFFFFF
##5C7D161.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7F7221
Tritanopia (blue-blind)
#60776A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5c7d16;
/* rgb */ color: rgb(92, 125, 22);
/* oklch */ color: oklch(54.5% 0.131 126.6);
Tailwind
colors: {
  custom: {
    50: '#8ea25d',
    500: '#5c7d16',
    950: '#000000',
  },
}
SCSS
$custom: #5c7d16;
$custom-light: #8ea25d;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7d16",
  "rgb": {
    "r": 92,
    "g": 125,
    "b": 22
  },
  "hsl": {
    "h": 79.223,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.54488,
    "c": 0.13054,
    "h": 126.6
  },
  "luminance": 0.17
}

Semantic roles & 50–950 ramp

primary
#5C7D16
secondary
#623DB2
accent
#3BED74
background
#F9FAF5
surface
#F1F3E9
border
#CBCDC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5C7D16

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

Preview Lab → · Contrast checker → · Palette generator →

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