#5E5916#5E5916

#5E5916 is a mid, moderate yellow. Relative luminance 0.096; OKLCH L 45.5% C 0.086 H 105.0°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#5E5916
RGBrgb(94, 89, 22)
HSLhsl(56, 62%, 23%)
HSVhsv(56, 77%, 37%)
CMYKcmyk(0%, 5.3%, 76.6%, 63.1%)
CIE-LABlab(37.08, -6.68, 37.30)
CIE-LCHlch(37.08, 37.89, 100.15°)
OKLaboklab(45.53% -0.0222 0.0827)
OKLCHoklch(45.53% 0.086 105)
XYZxyz(8.3336, 9.5827, 2.1696)
Luminance0.0958 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5916 #161B5E
analogous
#5E3516 #5E5916 #3F5E16
triadic
#5E5916 #165E59 #59165E
tetradic
#5E5916 #165E35 #161B5E #5E163F
square
#5E5916 #165E35 #161B5E #5E163F
split-complementary
#5E5916 #163F5E #35165E
monochromatic
#191706 #2C2A0A #5E5916 #908822 #C1B72D

Accessibility & contrast

On white

7.20
#5E5916 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#5E5916 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E5916
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5916#FFFFFF#000000##FFFFFF
##5E59161.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61560B
Deuteranopia (green-blind)
#63591B
Tritanopia (blue-blind)
#65524C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5e5916;
/* rgb */ color: rgb(94, 89, 22);
/* oklch */ color: oklch(45.5% 0.086 105.0);
Tailwind
colors: {
  custom: {
    50: '#8e8758',
    500: '#5e5916',
    950: '#000000',
  },
}
SCSS
$custom: #5e5916;
$custom-light: #8e8758;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5916",
  "rgb": {
    "r": 94,
    "g": 89,
    "b": 22
  },
  "hsl": {
    "h": 55.833,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.45532,
    "c": 0.08558,
    "h": 105
  },
  "luminance": 0.09582
}

Semantic roles & 50–950 ramp

primary
#5E5916
secondary
#3B4195
accent
#4EE543
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #5E5916

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

Preview Lab → · Contrast checker → · Palette generator →

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