#5C7515#5C7515

#5C7515 is a mid, vivid yellow-green. Relative luminance 0.151; OKLCH L 52.4% C 0.121 H 123.8°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#5C7515
RGBrgb(92, 117, 21)
HSLhsl(76, 70%, 27%)
HSVhsv(76, 82%, 46%)
CMYKcmyk(21.4%, 0%, 82.1%, 54.1%)
CIE-LABlab(45.71, -22.97, 45.72)
CIE-LCHlch(45.71, 51.16, 116.68°)
OKLaboklab(52.42% -0.0673 0.1003)
OKLCHoklch(52.42% 0.121 123.8)
XYZxyz(10.9104, 15.0519, 3.0398)
Luminance0.1505 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7515 #2E1575
analogous
#755E15 #5C7515 #2C7515
triadic
#5C7515 #155C75 #75155C
tetradic
#5C7515 #15755E #2E1575 #75152C
square
#5C7515 #15755E #2E1575 #75152C
split-complementary
#5C7515 #152C75 #5E1575
monochromatic
#141A05 #33410C #5C7515 #85A91E #ACD92B

Accessibility & contrast

On white

5.24
#5C7515 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#5C7515 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C7515
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7515#FFFFFF#000000##FFFFFF
##5C75151.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#796C1F
Tritanopia (blue-blind)
#616F63
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5c7515;
/* rgb */ color: rgb(92, 117, 21);
/* oklch */ color: oklch(52.4% 0.121 123.8);
Tailwind
colors: {
  custom: {
    50: '#8d9c5c',
    500: '#5c7515',
    950: '#000000',
  },
}
SCSS
$custom: #5c7515;
$custom-light: #8d9c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7515",
  "rgb": {
    "r": 92,
    "g": 117,
    "b": 21
  },
  "hsl": {
    "h": 75.625,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.52415,
    "c": 0.12078,
    "h": 123.8
  },
  "luminance": 0.15052
}

Semantic roles & 50–950 ramp

primary
#5C7515
secondary
#583BAB
accent
#3BEC6A
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0D0E04
muted
#7D7E79

Preview Lab

Preview with #5C7515

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

Preview Lab → · Contrast checker → · Palette generator →

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