#5C7615#5C7615

#5C7615 is a mid, vivid yellow-green. Relative luminance 0.153; OKLCH L 52.7% C 0.122 H 124.2°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#5C7615
RGBrgb(92, 118, 21)
HSLhsl(76, 70%, 27%)
HSVhsv(76, 82%, 46%)
CMYKcmyk(22%, 0%, 82.2%, 53.7%)
CIE-LABlab(46.02, -23.48, 46.01)
CIE-LCHlch(46.02, 51.65, 117.04°)
OKLaboklab(52.67% -0.0686 0.1009)
OKLCHoklch(52.67% 0.122 124.2)
XYZxyz(11.0275, 15.2862, 3.0789)
Luminance0.1529 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7615 #2F1576
analogous
#765F15 #5C7615 #2C7615
triadic
#5C7615 #155C76 #76155C
tetradic
#5C7615 #15765F #2F1576 #76152C
square
#5C7615 #15765F #2F1576 #76152C
split-complementary
#5C7615 #152C76 #5F1576
monochromatic
#141A05 #33420C #5C7615 #85AA1E #ABD92C

Accessibility & contrast

On white

5.18
#5C7615 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#5C7615 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C7615
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7615#FFFFFF#000000##FFFFFF
##5C76151.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#7A6D1F
Tritanopia (blue-blind)
#617064
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5c7615;
/* rgb */ color: rgb(92, 118, 21);
/* oklch */ color: oklch(52.7% 0.122 124.2);
Tailwind
colors: {
  custom: {
    50: '#8d9d5c',
    500: '#5c7615',
    950: '#000000',
  },
}
SCSS
$custom: #5c7615;
$custom-light: #8d9d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7615",
  "rgb": {
    "r": 92,
    "g": 118,
    "b": 21
  },
  "hsl": {
    "h": 76.082,
    "s": 69.784,
    "l": 27.255
  },
  "oklch": {
    "l": 0.52673,
    "c": 0.12207,
    "h": 124.2
  },
  "luminance": 0.15286
}

Semantic roles & 50–950 ramp

primary
#5C7615
secondary
#593BAC
accent
#3BED6B
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0D0E04
muted
#7D7E79

Preview Lab

Preview with #5C7615

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

Preview Lab → · Contrast checker → · Palette generator →

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