#5E5E15#5E5E15

#5E5E15 is a mid, moderate yellow. Relative luminance 0.104; OKLCH L 46.8% C 0.092 H 109.5°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#5E5E15
RGBrgb(94, 94, 21)
HSLhsl(60, 63%, 23%)
HSVhsv(60, 78%, 37%)
CMYKcmyk(0%, 0%, 77.7%, 63.1%)
CIE-LABlab(38.62, -9.63, 39.18)
CIE-LCHlch(38.62, 40.35, 103.80°)
OKLaboklab(46.76% -0.0306 0.0864)
OKLCHoklch(46.76% 0.092 109.5)
XYZxyz(8.7545, 10.4395, 2.2632)
Luminance0.1044 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5E15 #15155E
analogous
#5E3915 #5E5E15 #395E15
triadic
#5E5E15 #155E5E #5E155E
tetradic
#5E5E15 #155E39 #15155E #5E1539
square
#5E5E15 #155E39 #15155E #5E1539
split-complementary
#5E5E15 #15395E #39155E
monochromatic
#191906 #2C2C0A #5E5E15 #909020 #C2C22B

Accessibility & contrast

On white

6.80
#5E5E15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#5E5E15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5E15
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5E15#FFFFFF#000000##FFFFFF
##5E5E151.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A07
Deuteranopia (green-blind)
#675C1B
Tritanopia (blue-blind)
#655850
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5e5e15;
/* rgb */ color: rgb(94, 94, 21);
/* oklch */ color: oklch(46.8% 0.092 109.5);
Tailwind
colors: {
  custom: {
    50: '#8e8b59',
    500: '#5e5e15',
    950: '#000000',
  },
}
SCSS
$custom: #5e5e15;
$custom-light: #8e8b59;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5e15",
  "rgb": {
    "r": 94,
    "g": 94,
    "b": 21
  },
  "hsl": {
    "h": 60,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.46756,
    "c": 0.09168,
    "h": 109.5
  },
  "luminance": 0.10439
}

Semantic roles & 50–950 ramp

primary
#5E5E15
secondary
#393995
accent
#41E741
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5E5E15

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

Preview Lab → · Contrast checker → · Palette generator →

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