#5C7F14#5C7F14

#5C7F14 is a mid, vivid yellow-green. Relative luminance 0.175; OKLCH L 55.0% C 0.134 H 127.1°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#5C7F14
RGBrgb(92, 127, 20)
HSLhsl(80, 73%, 29%)
HSVhsv(80, 84%, 50%)
CMYKcmyk(27.6%, 0%, 84.3%, 50.2%)
CIE-LABlab(48.89, -27.96, 48.89)
CIE-LCHlch(48.89, 56.32, 119.77°)
OKLaboklab(55% -0.0809 0.1069)
OKLCHoklch(55% 0.134 127.1)
XYZxyz(12.1293, 17.5043, 3.4013)
Luminance0.1751 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7F14 #37147F
analogous
#7F6D14 #5C7F14 #277F14
triadic
#5C7F14 #145C7F #7F145C
tetradic
#5C7F14 #147F6D #37147F #7F1427
square
#5C7F14 #147F6D #37147F #7F1427
split-complementary
#5C7F14 #14277F #6D147F
monochromatic
#131A04 #364A0C #5C7F14 #82B41C #A5DE2F

Accessibility & contrast

On white

4.67
#5C7F14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#5C7F14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5C7F14
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7F14#FFFFFF#000000##FFFFFF
##5C7F141.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#817320
Tritanopia (blue-blind)
#60796C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5c7f14;
/* rgb */ color: rgb(92, 127, 20);
/* oklch */ color: oklch(55.0% 0.134 127.1);
Tailwind
colors: {
  custom: {
    50: '#8ea45d',
    500: '#5c7f14',
    950: '#000000',
  },
}
SCSS
$custom: #5c7f14;
$custom-light: #8ea45d;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7f14",
  "rgb": {
    "r": 92,
    "g": 127,
    "b": 20
  },
  "hsl": {
    "h": 79.626,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.54996,
    "c": 0.13405,
    "h": 127.1
  },
  "luminance": 0.17505
}

Semantic roles & 50–950 ramp

primary
#5C7F14
secondary
#623BB4
accent
#38EF74
background
#F9FAF5
surface
#F1F4E9
border
#CBCEC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5C7F14

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

Preview Lab → · Contrast checker → · Palette generator →

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