#5E5F10#5E5F10

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

Color values

HEX#5E5F10
RGBrgb(94, 95, 16)
HSLhsl(61, 71%, 22%)
HSVhsv(61, 83%, 37%)
CMYKcmyk(1.1%, 0%, 83.2%, 62.7%)
CIE-LABlab(38.90, -10.43, 41.26)
CIE-LCHlch(38.90, 42.55, 104.19°)
OKLaboklab(46.97% -0.0333 0.0898)
OKLCHoklch(46.97% 0.096 110.3)
XYZxyz(8.8022, 10.6018, 2.0728)
Luminance0.1060 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5F10 #11105F
analogous
#5F3910 #5E5F10 #375F10
triadic
#5E5F10 #105E5F #5F105E
tetradic
#5E5F10 #105F39 #11105F #5F1037
square
#5E5F10 #105F39 #11105F #5F1037
split-complementary
#5E5F10 #10375F #39105F
monochromatic
#1A1A04 #2A2B07 #5E5F10 #929319 #C6C822

Accessibility & contrast

On white

6.73
#5E5F10 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5E5F10
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5F10#FFFFFF#000000##FFFFFF
##5E5F101.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A00
Deuteranopia (green-blind)
#685D17
Tritanopia (blue-blind)
#655850
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5e5f10;
/* rgb */ color: rgb(94, 95, 16);
/* oklch */ color: oklch(47.0% 0.096 110.3);
Tailwind
colors: {
  custom: {
    50: '#8f8c56',
    500: '#5e5f10',
    950: '#000000',
  },
}
SCSS
$custom: #5e5f10;
$custom-light: #8f8c56;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5f10",
  "rgb": {
    "r": 94,
    "g": 95,
    "b": 16
  },
  "hsl": {
    "h": 60.759,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.46971,
    "c": 0.09578,
    "h": 110.3
  },
  "luminance": 0.10602
}

Semantic roles & 50–950 ramp

primary
#5E5F10
secondary
#343398
accent
#3AEE3C
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C03
muted
#7E7D78

Preview Lab

Preview with #5E5F10

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

Preview Lab → · Contrast checker → · Palette generator →

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