#5C7D14#5C7D14

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

Color values

HEX#5C7D14
RGBrgb(92, 125, 20)
HSLhsl(79, 72%, 28%)
HSVhsv(79, 84%, 49%)
CMYKcmyk(26.4%, 0%, 84%, 51%)
CIE-LABlab(48.25, -26.99, 48.32)
CIE-LCHlch(48.25, 55.35, 119.19°)
OKLaboklab(54.48% -0.0783 0.1057)
OKLCHoklch(54.48% 0.132 126.5)
XYZxyz(11.8736, 16.9928, 3.3161)
Luminance0.1699 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7D14 #35147D
analogous
#7D6914 #5C7D14 #277D14
triadic
#5C7D14 #145C7D #7D145C
tetradic
#5C7D14 #147D69 #35147D #7D1427
square
#5C7D14 #147D69 #35147D #7D1427
split-complementary
#5C7D14 #14277D #69147D
monochromatic
#131A04 #35480C #5C7D14 #83B21C #A6DE2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #5c7d14;
/* rgb */ color: rgb(92, 125, 20);
/* oklch */ color: oklch(54.5% 0.132 126.5);
Tailwind
colors: {
  custom: {
    50: '#8ea25d',
    500: '#5c7d14',
    950: '#000000',
  },
}
SCSS
$custom: #5c7d14;
$custom-light: #8ea25d;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7d14",
  "rgb": {
    "r": 92,
    "g": 125,
    "b": 20
  },
  "hsl": {
    "h": 78.857,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.54477,
    "c": 0.1315,
    "h": 126.5
  },
  "luminance": 0.16993
}

Semantic roles & 50–950 ramp

primary
#5C7D14
secondary
#603AB2
accent
#39EF72
background
#F9FAF5
surface
#F1F3E9
border
#CBCDC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5C7D14

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

Preview Lab → · Contrast checker → · Palette generator →

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