#5E5F0F#5E5F0F

#5E5F0F 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#5E5F0F
RGBrgb(94, 95, 15)
HSLhsl(61, 73%, 22%)
HSVhsv(61, 84%, 37%)
CMYKcmyk(1.1%, 0%, 84.2%, 62.7%)
CIE-LABlab(38.90, -10.47, 41.58)
CIE-LCHlch(38.90, 42.88, 104.13°)
OKLaboklab(46.97% -0.0335 0.0903)
OKLCHoklch(46.97% 0.096 110.3)
XYZxyz(8.7949, 10.5988, 2.0343)
Luminance0.1060 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5F0F #100F5F
analogous
#5F380F #5E5F0F #365F0F
triadic
#5E5F0F #0F5E5F #5F0F5E
tetradic
#5E5F0F #0F5F38 #100F5F #5F0F36
square
#5E5F0F #0F5F38 #100F5F #5F0F36
split-complementary
#5E5F0F #0F365F #380F5F
monochromatic
#1A1A04 #2A2A07 #5E5F0F #929417 #C7C920

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E5F0F#FFFFFF#000000##FFFFFF
##5E5F0F1.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: #5e5f0f;
/* rgb */ color: rgb(94, 95, 15);
/* oklch */ color: oklch(47.0% 0.096 110.3);
Tailwind
colors: {
  custom: {
    50: '#8f8c56',
    500: '#5e5f0f',
    950: '#000000',
  },
}
SCSS
$custom: #5e5f0f;
$custom-light: #8f8c56;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5f0f",
  "rgb": {
    "r": 94,
    "g": 95,
    "b": 15
  },
  "hsl": {
    "h": 60.75,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.46966,
    "c": 0.09631,
    "h": 110.3
  },
  "luminance": 0.10599
}

Semantic roles & 50–950 ramp

primary
#5E5F0F
secondary
#333298
accent
#38EF3B
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C03
muted
#7E7D78

Preview Lab

Preview with #5E5F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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