#5E6515#5E6515

#5E6515 is a mid, moderate yellow. Relative luminance 0.117; OKLCH L 48.5% C 0.100 H 114.6°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#5E6515
RGBrgb(94, 101, 21)
HSLhsl(65, 66%, 24%)
HSVhsv(65, 79%, 40%)
CMYKcmyk(6.9%, 0%, 79.2%, 60.4%)
CIE-LABlab(40.80, -13.57, 41.24)
CIE-LCHlch(40.80, 43.42, 108.21°)
OKLaboklab(48.5% -0.0415 0.0908)
OKLCHoklch(48.5% 0.1 114.6)
XYZxyz(9.4054, 11.7414, 2.4802)
Luminance0.1174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6515 #1C1565
analogous
#654415 #5E6515 #366515
triadic
#5E6515 #155E65 #65155E
tetradic
#5E6515 #156544 #1C1565 #651536
square
#5E6515 #156544 #1C1565 #651536
split-complementary
#5E6515 #153665 #441565
monochromatic
#181905 #2F320A #5E6515 #8D9820 #BCCA2A

Accessibility & contrast

On white

6.27
#5E6515 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#5E6515 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E6515
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6515#FFFFFF#000000##FFFFFF
##5E65151.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6004
Deuteranopia (green-blind)
#6C611C
Tritanopia (blue-blind)
#655F56
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5e6515;
/* rgb */ color: rgb(94, 101, 21);
/* oklch */ color: oklch(48.5% 0.100 114.6);
Tailwind
colors: {
  custom: {
    50: '#8e905a',
    500: '#5e6515',
    950: '#000000',
  },
}
SCSS
$custom: #5e6515;
$custom-light: #8e905a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6515",
  "rgb": {
    "r": 94,
    "g": 101,
    "b": 21
  },
  "hsl": {
    "h": 65.25,
    "s": 65.574,
    "l": 23.922
  },
  "oklch": {
    "l": 0.48502,
    "c": 0.09983,
    "h": 114.6
  },
  "luminance": 0.11741
}

Semantic roles & 50–950 ramp

primary
#5E6515
secondary
#423A9C
accent
#3FE94E
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5E6515

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

Preview Lab → · Contrast checker → · Palette generator →

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