#5C7D19#5C7D19

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

Color values

HEX#5C7D19
RGBrgb(92, 125, 25)
HSLhsl(80, 67%, 29%)
HSVhsv(80, 80%, 49%)
CMYKcmyk(26.4%, 0%, 80%, 51%)
CIE-LABlab(48.28, -26.76, 46.78)
CIE-LCHlch(48.28, 53.89, 119.77°)
OKLaboklab(54.51% -0.0773 0.1033)
OKLCHoklch(54.51% 0.129 126.8)
XYZxyz(11.9228, 17.0125, 3.5751)
Luminance0.1701 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7D19 #3A197D
analogous
#7D6C19 #5C7D19 #2A7D19
triadic
#5C7D19 #195C7D #7D195C
tetradic
#5C7D19 #197D6C #3A197D #7D192A
square
#5C7D19 #197D6C #3A197D #7D192A
split-complementary
#5C7D19 #192A7D #6C197D
monochromatic
#131A05 #364A0F #5C7D19 #82B023 #A3D739

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C7D19#FFFFFF#000000##FFFFFF
##5C7D191.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)
#7F7223
Tritanopia (blue-blind)
#60776A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5c7d19;
/* rgb */ color: rgb(92, 125, 25);
/* oklch */ color: oklch(54.5% 0.129 126.8);
Tailwind
colors: {
  custom: {
    50: '#8ea25f',
    500: '#5c7d19',
    950: '#000000',
  },
}
SCSS
$custom: #5c7d19;
$custom-light: #8ea25f;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7d19",
  "rgb": {
    "r": 92,
    "g": 125,
    "b": 25
  },
  "hsl": {
    "h": 79.8,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.54505,
    "c": 0.12896,
    "h": 126.8
  },
  "luminance": 0.17013
}

Semantic roles & 50–950 ramp

primary
#5C7D19
secondary
#6640B1
accent
#3EEA77
background
#F8FAF5
surface
#F0F3EA
border
#CBCDC6
text
#0D0F05
muted
#7D7F79

Preview Lab

Preview with #5C7D19

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

Preview Lab → · Contrast checker → · Palette generator →

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