#5E6017#5E6017

#5E6017 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#5E6017
RGBrgb(94, 96, 23)
HSLhsl(62, 61%, 23%)
HSVhsv(62, 76%, 38%)
CMYKcmyk(2.1%, 0%, 76%, 62.4%)
CIE-LABlab(39.25, -10.66, 39.00)
CIE-LCHlch(39.25, 40.43, 105.29°)
OKLaboklab(47.27% -0.0332 0.0864)
OKLCHoklch(47.27% 0.093 111)
XYZxyz(8.9539, 10.8075, 2.4248)
Luminance0.1081 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6017 #191760
analogous
#603D17 #5E6017 #396017
triadic
#5E6017 #175E60 #60175E
tetradic
#5E6017 #17603D #191760 #601739
square
#5E6017 #17603D #191760 #601739
split-complementary
#5E6017 #173960 #3D1760
monochromatic
#181906 #2E2F0B #5E6017 #8E9123 #BFC32F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E6017#FFFFFF#000000##FFFFFF
##5E60171.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)
#685B0A
Deuteranopia (green-blind)
#685D1D
Tritanopia (blue-blind)
#655A52
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5e6017;
/* rgb */ color: rgb(94, 96, 23);
/* oklch */ color: oklch(47.3% 0.093 111.0);
Tailwind
colors: {
  custom: {
    50: '#8e8d5a',
    500: '#5e6017',
    950: '#000000',
  },
}
SCSS
$custom: #5e6017;
$custom-light: #8e8d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6017",
  "rgb": {
    "r": 94,
    "g": 96,
    "b": 23
  },
  "hsl": {
    "h": 61.644,
    "s": 61.345,
    "l": 23.333
  },
  "oklch": {
    "l": 0.47267,
    "c": 0.09261,
    "h": 111
  },
  "luminance": 0.10807
}

Semantic roles & 50–950 ramp

primary
#5E6017
secondary
#3F3C97
accent
#43E448
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5E6017

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

Preview Lab → · Contrast checker → · Palette generator →

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