#5E5B10#5E5B10

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

Color values

HEX#5E5B10
RGBrgb(94, 91, 16)
HSLhsl(58, 71%, 22%)
HSVhsv(58, 83%, 37%)
CMYKcmyk(0%, 3.2%, 83%, 63.1%)
CIE-LABlab(37.66, -8.13, 40.14)
CIE-LCHlch(37.66, 40.96, 101.45°)
OKLaboklab(45.98% -0.0269 0.0874)
OKLCHoklch(45.98% 0.091 107.1)
XYZxyz(8.4511, 9.8996, 1.9558)
Luminance0.0990 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5B10 #10135E
analogous
#5E3410 #5E5B10 #3A5E10
triadic
#5E5B10 #105E5B #5B105E
tetradic
#5E5B10 #105E34 #10135E #5E103A
square
#5E5B10 #105E34 #10135E #5E103A
split-complementary
#5E5B10 #103A5E #34105E
monochromatic
#1A1904 #2A2807 #5E5B10 #928E19 #C7C022

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E5B10#FFFFFF#000000##FFFFFF
##5E5B101.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: #5e5b10;
/* rgb */ color: rgb(94, 91, 16);
/* oklch */ color: oklch(46.0% 0.091 107.1);
Tailwind
colors: {
  custom: {
    50: '#8f8956',
    500: '#5e5b10',
    950: '#000000',
  },
}
SCSS
$custom: #5e5b10;
$custom-light: #8f8956;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5b10",
  "rgb": {
    "r": 94,
    "g": 91,
    "b": 16
  },
  "hsl": {
    "h": 57.692,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.45981,
    "c": 0.09147,
    "h": 107.1
  },
  "luminance": 0.09899
}

Semantic roles & 50–950 ramp

primary
#5E5B10
secondary
#333797
accent
#41EE3A
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5E5B10

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

Preview Lab → · Contrast checker → · Palette generator →

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