#5E5910#5E5910

#5E5910 is a mid, moderate yellow. Relative luminance 0.096; OKLCH L 45.5% C 0.089 H 105.3°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#5E5910
RGBrgb(94, 89, 16)
HSLhsl(56, 71%, 22%)
HSVhsv(56, 83%, 37%)
CMYKcmyk(0%, 5.3%, 83%, 63.1%)
CIE-LABlab(37.04, -6.97, 39.59)
CIE-LCHlch(37.04, 40.20, 99.99°)
OKLaboklab(45.49% -0.0236 0.0862)
OKLCHoklch(45.49% 0.089 105.3)
XYZxyz(8.2824, 9.5622, 1.8995)
Luminance0.0956 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5910 #10155E
analogous
#5E3210 #5E5910 #3C5E10
triadic
#5E5910 #105E59 #59105E
tetradic
#5E5910 #105E32 #10155E #5E103C
square
#5E5910 #105E32 #10155E #5E103C
split-complementary
#5E5910 #103C5E #32105E
monochromatic
#1A1904 #2A2707 #5E5910 #928B19 #C7BC22

Accessibility & contrast

On white

7.21
#5E5910 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#5E5910 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E5910
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5910#FFFFFF#000000##FFFFFF
##5E59101.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625501
Deuteranopia (green-blind)
#635916
Tritanopia (blue-blind)
#66524B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5e5910;
/* rgb */ color: rgb(94, 89, 16);
/* oklch */ color: oklch(45.5% 0.089 105.3);
Tailwind
colors: {
  custom: {
    50: '#8f8755',
    500: '#5e5910',
    950: '#000000',
  },
}
SCSS
$custom: #5e5910;
$custom-light: #8f8755;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5910",
  "rgb": {
    "r": 94,
    "g": 89,
    "b": 16
  },
  "hsl": {
    "h": 56.154,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.4549,
    "c": 0.08942,
    "h": 105.3
  },
  "luminance": 0.09562
}

Semantic roles & 50–950 ramp

primary
#5E5910
secondary
#333997
accent
#46EE3A
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5E5910

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

Preview Lab → · Contrast checker → · Palette generator →

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