#5C7F15#5C7F15

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

Color values

HEX#5C7F15
RGBrgb(92, 127, 21)
HSLhsl(80, 72%, 29%)
HSVhsv(80, 83%, 50%)
CMYKcmyk(27.6%, 0%, 83.5%, 50.2%)
CIE-LABlab(48.89, -27.92, 48.60)
CIE-LCHlch(48.89, 56.05, 119.88°)
OKLaboklab(55% -0.0807 0.1064)
OKLCHoklch(55% 0.134 127.2)
XYZxyz(12.1384, 17.5079, 3.4492)
Luminance0.1751 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7F15 #38157F
analogous
#7F6D15 #5C7F15 #277F15
triadic
#5C7F15 #155C7F #7F155C
tetradic
#5C7F15 #157F6D #38157F #7F1527
square
#5C7F15 #157F6D #38157F #7F1527
split-complementary
#5C7F15 #15277F #6D157F
monochromatic
#131A04 #364A0C #5C7F15 #82B41E #A4DD31

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C7F15#FFFFFF#000000##FFFFFF
##5C7F151.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)
#817421
Tritanopia (blue-blind)
#60796C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5c7f15;
/* rgb */ color: rgb(92, 127, 21);
/* oklch */ color: oklch(55.0% 0.134 127.2);
Tailwind
colors: {
  custom: {
    50: '#8ea45d',
    500: '#5c7f15',
    950: '#000000',
  },
}
SCSS
$custom: #5c7f15;
$custom-light: #8ea45d;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7f15",
  "rgb": {
    "r": 92,
    "g": 127,
    "b": 21
  },
  "hsl": {
    "h": 79.811,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.55001,
    "c": 0.13358,
    "h": 127.2
  },
  "luminance": 0.17508
}

Semantic roles & 50–950 ramp

primary
#5C7F15
secondary
#633CB4
accent
#39EE75
background
#F9FAF5
surface
#F1F4E9
border
#CBCEC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5C7F15

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

Preview Lab → · Contrast checker → · Palette generator →

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