#5E6015#5E6015

#5E6015 is a mid, moderate yellow. Relative luminance 0.108; OKLCH L 47.3% C 0.094 H 111.1°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#5E6015
RGBrgb(94, 96, 21)
HSLhsl(62, 64%, 23%)
HSVhsv(62, 78%, 38%)
CMYKcmyk(2.1%, 0%, 78.1%, 62.4%)
CIE-LABlab(39.24, -10.77, 39.77)
CIE-LCHlch(39.24, 41.20, 105.15°)
OKLaboklab(47.25% -0.0337 0.0877)
OKLCHoklch(47.25% 0.094 111.1)
XYZxyz(8.9346, 10.7998, 2.3232)
Luminance0.1080 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6015 #171560
analogous
#603C15 #5E6015 #386015
triadic
#5E6015 #155E60 #60155E
tetradic
#5E6015 #15603C #171560 #601538
square
#5E6015 #15603C #171560 #601538
split-complementary
#5E6015 #153860 #3C1560
monochromatic
#191905 #2D2E0A #5E6015 #8F9220 #C0C42B

Accessibility & contrast

On white

6.65
#5E6015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#5E6015 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E6015
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6015#FFFFFF#000000##FFFFFF
##5E60151.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B06
Deuteranopia (green-blind)
#695D1B
Tritanopia (blue-blind)
#655A52
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5e6015;
/* rgb */ color: rgb(94, 96, 21);
/* oklch */ color: oklch(47.3% 0.094 111.1);
Tailwind
colors: {
  custom: {
    50: '#8e8d59',
    500: '#5e6015',
    950: '#000000',
  },
}
SCSS
$custom: #5e6015;
$custom-light: #8e8d59;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6015",
  "rgb": {
    "r": 94,
    "g": 96,
    "b": 21
  },
  "hsl": {
    "h": 61.6,
    "s": 64.103,
    "l": 22.941
  },
  "oklch": {
    "l": 0.47252,
    "c": 0.09394,
    "h": 111.1
  },
  "luminance": 0.108
}

Semantic roles & 50–950 ramp

primary
#5E6015
secondary
#3C3A97
accent
#41E745
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5E6015

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

Preview Lab → · Contrast checker → · Palette generator →

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