#5B5E0F#5B5E0F

#5B5E0F is a mid, moderate yellow. Relative luminance 0.103; OKLCH L 46.4% C 0.096 H 111.9°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#5B5E0F
RGBrgb(91, 94, 15)
HSLhsl(62, 72%, 21%)
HSVhsv(62, 84%, 37%)
CMYKcmyk(3.2%, 0%, 84%, 63.1%)
CIE-LABlab(38.31, -11.36, 40.96)
CIE-LCHlch(38.31, 42.50, 105.50°)
OKLaboklab(46.43% -0.0358 0.0891)
OKLCHoklch(46.43% 0.096 111.9)
XYZxyz(8.4036, 10.2643, 1.9904)
Luminance0.1026 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5E0F #120F5E
analogous
#5E3A0F #5B5E0F #345E0F
triadic
#5B5E0F #0F5B5E #5E0F5B
tetradic
#5B5E0F #0F5E3A #120F5E #5E0F34
square
#5B5E0F #0F5E3A #120F5E #5E0F34
split-complementary
#5B5E0F #0F345E #3A0F5E
monochromatic
#1A1A04 #282907 #5B5E0F #8E9317 #C1C820

Accessibility & contrast

On white

6.88
#5B5E0F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#5B5E0F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B5E0F
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5E0F#FFFFFF#000000##FFFFFF
##5B5E0F1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665900
Deuteranopia (green-blind)
#665B16
Tritanopia (blue-blind)
#625850
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5b5e0f;
/* rgb */ color: rgb(91, 94, 15);
/* oklch */ color: oklch(46.4% 0.096 111.9);
Tailwind
colors: {
  custom: {
    50: '#8c8b56',
    500: '#5b5e0f',
    950: '#000000',
  },
}
SCSS
$custom: #5b5e0f;
$custom-light: #8c8b56;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5e0f",
  "rgb": {
    "r": 91,
    "g": 94,
    "b": 15
  },
  "hsl": {
    "h": 62.278,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.46432,
    "c": 0.09602,
    "h": 111.9
  },
  "luminance": 0.10264
}

Semantic roles & 50–950 ramp

primary
#5B5E0F
secondary
#353197
accent
#39EF40
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #5B5E0F

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

Preview Lab → · Contrast checker → · Palette generator →

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