#5E5F0E#5E5F0E

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

Color values

HEX#5E5F0E
RGBrgb(94, 95, 14)
HSLhsl(61, 74%, 21%)
HSVhsv(61, 85%, 37%)
CMYKcmyk(1.1%, 0%, 85.3%, 62.7%)
CIE-LABlab(38.89, -10.51, 41.89)
CIE-LCHlch(38.89, 43.19, 104.08°)
OKLaboklab(46.96% -0.0337 0.0908)
OKLCHoklch(46.96% 0.097 110.4)
XYZxyz(8.7879, 10.5961, 1.9977)
Luminance0.1060 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5F0E #0F0E5F
analogous
#5F380E #5E5F0E #365F0E
triadic
#5E5F0E #0E5E5F #5F0E5E
tetradic
#5E5F0E #0E5F38 #0F0E5F #5F0E36
square
#5E5F0E #0E5F38 #0F0E5F #5F0E36
split-complementary
#5E5F0E #0E365F #380E5F
monochromatic
#1A1B04 #292A06 #5E5F0E #939416 #C8CA1E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E5F0E#FFFFFF#000000##FFFFFF
##5E5F0E1.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)
#685D16
Tritanopia (blue-blind)
#655850
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5e5f0e;
/* rgb */ color: rgb(94, 95, 14);
/* oklch */ color: oklch(47.0% 0.097 110.4);
Tailwind
colors: {
  custom: {
    50: '#8f8c56',
    500: '#5e5f0e',
    950: '#000000',
  },
}
SCSS
$custom: #5e5f0e;
$custom-light: #8f8c56;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5f0e",
  "rgb": {
    "r": 94,
    "g": 95,
    "b": 14
  },
  "hsl": {
    "h": 60.741,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.4696,
    "c": 0.09682,
    "h": 110.4
  },
  "luminance": 0.10596
}

Semantic roles & 50–950 ramp

primary
#5E5F0E
secondary
#313099
accent
#37F139
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C03
muted
#7E7D78

Preview Lab

Preview with #5E5F0E

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

Preview Lab → · Contrast checker → · Palette generator →

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