#5E5B0F#5E5B0F

#5E5B0F is a mid, moderate yellow. Relative luminance 0.099; OKLCH L 46.0% C 0.092 H 107.1°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#5E5B0F
RGBrgb(94, 91, 15)
HSLhsl(58, 72%, 21%)
HSVhsv(58, 84%, 37%)
CMYKcmyk(0%, 3.2%, 84%, 63.1%)
CIE-LABlab(37.66, -8.17, 40.48)
CIE-LCHlch(37.66, 41.30, 101.42°)
OKLaboklab(45.98% -0.0271 0.0879)
OKLCHoklch(45.98% 0.092 107.1)
XYZxyz(8.4438, 9.8966, 1.9173)
Luminance0.0990 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5B0F #0F125E
analogous
#5E340F #5E5B0F #3A5E0F
triadic
#5E5B0F #0F5E5B #5B0F5E
tetradic
#5E5B0F #0F5E34 #0F125E #5E0F3A
square
#5E5B0F #0F5E34 #0F125E #5E0F3A
split-complementary
#5E5B0F #0F3A5E #340F5E
monochromatic
#1A1A04 #292807 #5E5B0F #938E17 #C8C120

Accessibility & contrast

On white

7.05
#5E5B0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#5E5B0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E5B0F
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5B0F#FFFFFF#000000##FFFFFF
##5E5B0F1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645700
Deuteranopia (green-blind)
#655A16
Tritanopia (blue-blind)
#66544D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5e5b0f;
/* rgb */ color: rgb(94, 91, 15);
/* oklch */ color: oklch(46.0% 0.092 107.1);
Tailwind
colors: {
  custom: {
    50: '#8f8955',
    500: '#5e5b0f',
    950: '#000000',
  },
}
SCSS
$custom: #5e5b0f;
$custom-light: #8f8955;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5b0f",
  "rgb": {
    "r": 94,
    "g": 91,
    "b": 15
  },
  "hsl": {
    "h": 57.722,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.45975,
    "c": 0.09202,
    "h": 107.1
  },
  "luminance": 0.09896
}

Semantic roles & 50–950 ramp

primary
#5E5B0F
secondary
#313597
accent
#40EF39
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5E5B0F

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

Preview Lab → · Contrast checker → · Palette generator →

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