#5C6915#5C6915

#5C6915 is a mid, moderate yellow. Relative luminance 0.124; OKLCH L 49.3% C 0.106 H 118.3°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#5C6915
RGBrgb(92, 105, 21)
HSLhsl(69, 67%, 25%)
HSVhsv(69, 80%, 41%)
CMYKcmyk(12.4%, 0%, 80%, 58.8%)
CIE-LABlab(41.90, -16.69, 42.20)
CIE-LCHlch(41.90, 45.38, 111.58°)
OKLaboklab(49.34% -0.05 0.0929)
OKLCHoklch(49.34% 0.106 118.3)
XYZxyz(9.6008, 12.4327, 2.6033)
Luminance0.1243 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C6915 #221569
analogous
#694C15 #5C6915 #326915
triadic
#5C6915 #155C69 #69155C
tetradic
#5C6915 #15694C #221569 #691532
square
#5C6915 #15694C #221569 #691532
split-complementary
#5C6915 #153269 #4C1569
monochromatic
#161A05 #2F360B #5C6915 #899C1F #B5CF29

Accessibility & contrast

On white

6.02
#5C6915 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#5C6915 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C6915
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C6915#FFFFFF#000000##FFFFFF
##5C69151.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706302
Deuteranopia (green-blind)
#6F631D
Tritanopia (blue-blind)
#626359
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5c6915;
/* rgb */ color: rgb(92, 105, 21);
/* oklch */ color: oklch(49.3% 0.106 118.3);
Tailwind
colors: {
  custom: {
    50: '#8d935a',
    500: '#5c6915',
    950: '#000000',
  },
}
SCSS
$custom: #5c6915;
$custom-light: #8d935a;
$custom-dark: #000000;
JSON
{
  "hex": "#5c6915",
  "rgb": {
    "r": 92,
    "g": 105,
    "b": 21
  },
  "hsl": {
    "h": 69.286,
    "s": 66.667,
    "l": 24.706
  },
  "oklch": {
    "l": 0.4934,
    "c": 0.10552,
    "h": 118.3
  },
  "luminance": 0.12433
}

Semantic roles & 50–950 ramp

primary
#5C6915
secondary
#4A3AA0
accent
#3EEA59
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #5C6915

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

Preview Lab → · Contrast checker → · Palette generator →

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