#5C8415#5C8415

#5C8415 is a mid, vivid yellow-green. Relative luminance 0.188; OKLCH L 56.3% C 0.140 H 128.5°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#5C8415
RGBrgb(92, 132, 21)
HSLhsl(82, 73%, 30%)
HSVhsv(82, 84%, 52%)
CMYKcmyk(30.3%, 0%, 84.1%, 48.2%)
CIE-LABlab(50.49, -30.30, 50.03)
CIE-LCHlch(50.49, 58.49, 121.20°)
OKLaboklab(56.3% -0.0871 0.1095)
OKLCHoklch(56.3% 0.14 128.5)
XYZxyz(12.8003, 18.8316, 3.6698)
Luminance0.1883 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8415 #3D1584
analogous
#847515 #5C8415 #248415
triadic
#5C8415 #155C84 #84155C
tetradic
#5C8415 #158475 #3D1584 #841524
square
#5C8415 #158475 #3D1584 #841524
split-complementary
#5C8415 #152484 #751584
monochromatic
#121A04 #374F0D #5C8415 #81B91D #A1DF35

Accessibility & contrast

On white

4.41
#5C8415 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#5C8415 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8415
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8415#FFFFFF#000000##000000
##5C84151.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#857722
Tritanopia (blue-blind)
#5F7E70
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5c8415;
/* rgb */ color: rgb(92, 132, 21);
/* oklch */ color: oklch(56.3% 0.140 128.5);
Tailwind
colors: {
  custom: {
    50: '#8ea85e',
    500: '#5c8415',
    950: '#000000',
  },
}
SCSS
$custom: #5c8415;
$custom-light: #8ea85e;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8415",
  "rgb": {
    "r": 92,
    "g": 132,
    "b": 21
  },
  "hsl": {
    "h": 81.622,
    "s": 72.549,
    "l": 30
  },
  "oklch": {
    "l": 0.56298,
    "c": 0.13992,
    "h": 128.5
  },
  "luminance": 0.18832
}

Semantic roles & 50–950 ramp

primary
#5C8415
secondary
#693CB9
accent
#39EF7A
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5C8415

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

Preview Lab → · Contrast checker → · Palette generator →

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