#5C7B14#5C7B14

#5C7B14 is a mid, vivid yellow-green. Relative luminance 0.165; OKLCH L 54.0% C 0.129 H 125.9°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#5C7B14
RGBrgb(92, 123, 20)
HSLhsl(78, 72%, 28%)
HSVhsv(78, 84%, 48%)
CMYKcmyk(25.2%, 0%, 83.7%, 51.8%)
CIE-LABlab(47.61, -26.02, 47.75)
CIE-LCHlch(47.61, 54.38, 118.58°)
OKLaboklab(53.96% -0.0756 0.1045)
OKLCHoklch(53.96% 0.129 125.9)
XYZxyz(11.6229, 16.4916, 3.2325)
Luminance0.1649 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7B14 #33147B
analogous
#7B6614 #5C7B14 #297B14
triadic
#5C7B14 #145C7B #7B145C
tetradic
#5C7B14 #147B66 #33147B #7B1429
square
#5C7B14 #147B66 #33147B #7B1429
split-complementary
#5C7B14 #14297B #66147B
monochromatic
#141A04 #35460B #5C7B14 #83B01D #A8DD2D

Accessibility & contrast

On white

4.89
#5C7B14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#5C7B14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C7B14
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7B14#FFFFFF#000000##FFFFFF
##5C7B141.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#7E701F
Tritanopia (blue-blind)
#607568
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5c7b14;
/* rgb */ color: rgb(92, 123, 20);
/* oklch */ color: oklch(54.0% 0.129 125.9);
Tailwind
colors: {
  custom: {
    50: '#8ea15c',
    500: '#5c7b14',
    950: '#000000',
  },
}
SCSS
$custom: #5c7b14;
$custom-light: #8ea15c;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7b14",
  "rgb": {
    "r": 92,
    "g": 123,
    "b": 20
  },
  "hsl": {
    "h": 78.058,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.53959,
    "c": 0.12895,
    "h": 125.9
  },
  "luminance": 0.16492
}

Semantic roles & 50–950 ramp

primary
#5C7B14
secondary
#5E3AB1
accent
#39EF70
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0F04
muted
#7E7E79

Preview Lab

Preview with #5C7B14

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

Preview Lab → · Contrast checker → · Palette generator →

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