#5E5F16#5E5F16

#5E5F16 is a mid, moderate yellow. Relative luminance 0.106; OKLCH L 47.0% C 0.092 H 110.3°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#5E5F16
RGBrgb(94, 95, 22)
HSLhsl(61, 62%, 23%)
HSVhsv(61, 77%, 37%)
CMYKcmyk(1.1%, 0%, 76.8%, 62.7%)
CIE-LABlab(38.94, -10.14, 39.09)
CIE-LCHlch(38.94, 40.39, 104.55°)
OKLaboklab(47.01% -0.0319 0.0864)
OKLCHoklch(47.01% 0.092 110.3)
XYZxyz(8.8534, 10.6223, 2.3428)
Luminance0.1062 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5F16 #17165F
analogous
#5F3B16 #5E5F16 #395F16
triadic
#5E5F16 #165E5F #5F165E
tetradic
#5E5F16 #165F3B #17165F #5F1639
square
#5E5F16 #165F3B #17165F #5F1639
split-complementary
#5E5F16 #16395F #3B165F
monochromatic
#191906 #2D2D0A #5E5F16 #8F9122 #C0C22D

Accessibility & contrast

On white

6.72
#5E5F16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#5E5F16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5F16
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5F16#FFFFFF#000000##FFFFFF
##5E5F161.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B08
Deuteranopia (green-blind)
#685D1C
Tritanopia (blue-blind)
#655951
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5e5f16;
/* rgb */ color: rgb(94, 95, 22);
/* oklch */ color: oklch(47.0% 0.092 110.3);
Tailwind
colors: {
  custom: {
    50: '#8e8c59',
    500: '#5e5f16',
    950: '#000000',
  },
}
SCSS
$custom: #5e5f16;
$custom-light: #8e8c59;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5f16",
  "rgb": {
    "r": 94,
    "g": 95,
    "b": 22
  },
  "hsl": {
    "h": 60.822,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.47011,
    "c": 0.09214,
    "h": 110.3
  },
  "luminance": 0.10622
}

Semantic roles & 50–950 ramp

primary
#5E5F16
secondary
#3C3B96
accent
#42E545
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5E5F16

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

Preview Lab → · Contrast checker → · Palette generator →

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