#5C7C14#5C7C14

#5C7C14 is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 54.2% C 0.130 H 126.2°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#5C7C14
RGBrgb(92, 124, 20)
HSLhsl(78, 72%, 28%)
HSVhsv(78, 84%, 49%)
CMYKcmyk(25.8%, 0%, 83.9%, 51.4%)
CIE-LABlab(47.93, -26.51, 48.03)
CIE-LCHlch(47.93, 54.86, 118.89°)
OKLaboklab(54.22% -0.0769 0.1051)
OKLCHoklch(54.22% 0.13 126.2)
XYZxyz(11.7476, 16.7409, 3.2741)
Luminance0.1674 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7C14 #34147C
analogous
#7C6814 #5C7C14 #287C14
triadic
#5C7C14 #145C7C #7C145C
tetradic
#5C7C14 #147C68 #34147C #7C1428
square
#5C7C14 #147C68 #34147C #7C1428
split-complementary
#5C7C14 #14287C #68147C
monochromatic
#141A04 #35470B #5C7C14 #83B11D #A7DD2D

Accessibility & contrast

On white

4.83
#5C7C14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#5C7C14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C7C14
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7C14#FFFFFF#000000##FFFFFF
##5C7C141.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7F7120
Tritanopia (blue-blind)
#607669
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5c7c14;
/* rgb */ color: rgb(92, 124, 20);
/* oklch */ color: oklch(54.2% 0.130 126.2);
Tailwind
colors: {
  custom: {
    50: '#8ea25d',
    500: '#5c7c14',
    950: '#000000',
  },
}
SCSS
$custom: #5c7c14;
$custom-light: #8ea25d;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7c14",
  "rgb": {
    "r": 92,
    "g": 124,
    "b": 20
  },
  "hsl": {
    "h": 78.462,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.54218,
    "c": 0.13023,
    "h": 126.2
  },
  "luminance": 0.16741
}

Semantic roles & 50–950 ramp

primary
#5C7C14
secondary
#5F3AB2
accent
#39EF71
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0F05
muted
#7E7E79

Preview Lab

Preview with #5C7C14

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

Preview Lab → · Contrast checker → · Palette generator →

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