#5E580F#5E580F

#5E580F is a mid, moderate yellow. Relative luminance 0.094; OKLCH L 45.2% C 0.089 H 104.5°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#5E580F
RGBrgb(94, 88, 15)
HSLhsl(55, 72%, 21%)
HSVhsv(55, 84%, 37%)
CMYKcmyk(0%, 6.4%, 84%, 63.1%)
CIE-LABlab(36.73, -6.43, 39.65)
CIE-LCHlch(36.73, 40.17, 99.21°)
OKLaboklab(45.24% -0.0222 0.0862)
OKLCHoklch(45.24% 0.089 104.5)
XYZxyz(8.1924, 9.3940, 1.8335)
Luminance0.0939 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E580F #0F155E
analogous
#5E310F #5E580F #3D5E0F
triadic
#5E580F #0F5E58 #580F5E
tetradic
#5E580F #0F5E31 #0F155E #5E0F3D
square
#5E580F #0F5E31 #0F155E #5E0F3D
split-complementary
#5E580F #0F3D5E #310F5E
monochromatic
#1A1904 #292707 #5E580F #938917 #C8BB20

Accessibility & contrast

On white

7.29
#5E580F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#5E580F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E580F
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E580F#FFFFFF#000000##FFFFFF
##5E580F1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615500
Deuteranopia (green-blind)
#635815
Tritanopia (blue-blind)
#66514B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5e580f;
/* rgb */ color: rgb(94, 88, 15);
/* oklch */ color: oklch(45.2% 0.089 104.5);
Tailwind
colors: {
  custom: {
    50: '#8f8655',
    500: '#5e580f',
    950: '#000000',
  },
}
SCSS
$custom: #5e580f;
$custom-light: #8f8655;
$custom-dark: #000000;
JSON
{
  "hex": "#5e580f",
  "rgb": {
    "r": 94,
    "g": 88,
    "b": 15
  },
  "hsl": {
    "h": 55.443,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.45239,
    "c": 0.08899,
    "h": 104.5
  },
  "luminance": 0.09394
}

Semantic roles & 50–950 ramp

primary
#5E580F
secondary
#313997
accent
#46EF39
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5E580F

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

Preview Lab → · Contrast checker → · Palette generator →

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