#5E6016#5E6016

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

Color values

HEX#5E6016
RGBrgb(94, 96, 22)
HSLhsl(62, 63%, 23%)
HSVhsv(62, 77%, 38%)
CMYKcmyk(2.1%, 0%, 77.1%, 62.4%)
CIE-LABlab(39.25, -10.71, 39.39)
CIE-LCHlch(39.25, 40.82, 105.22°)
OKLaboklab(47.26% -0.0335 0.0871)
OKLCHoklch(47.26% 0.093 111)
XYZxyz(8.9441, 10.8036, 2.3731)
Luminance0.1080 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6016 #181660
analogous
#603D16 #5E6016 #396016
triadic
#5E6016 #165E60 #60165E
tetradic
#5E6016 #16603D #181660 #601639
square
#5E6016 #16603D #181660 #601639
split-complementary
#5E6016 #163960 #3D1660
monochromatic
#181906 #2D2E0B #5E6016 #8F9221 #C0C42D

Accessibility & contrast

On white

6.64
#5E6016 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5E6016
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6016#FFFFFF#000000##FFFFFF
##5E60161.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e6016;
/* rgb */ color: rgb(94, 96, 22);
/* oklch */ color: oklch(47.3% 0.093 111.0);
Tailwind
colors: {
  custom: {
    50: '#8e8d59',
    500: '#5e6016',
    950: '#000000',
  },
}
SCSS
$custom: #5e6016;
$custom-light: #8e8d59;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6016",
  "rgb": {
    "r": 94,
    "g": 96,
    "b": 22
  },
  "hsl": {
    "h": 61.622,
    "s": 62.712,
    "l": 23.137
  },
  "oklch": {
    "l": 0.4726,
    "c": 0.09329,
    "h": 111
  },
  "luminance": 0.10803
}

Semantic roles & 50–950 ramp

primary
#5E6016
secondary
#3D3B97
accent
#42E646
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5E6016

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

Preview Lab → · Contrast checker → · Palette generator →

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