#5E5129#5E5129

#5E5129 is a dark, moderate yellow. Relative luminance 0.084; OKLCH L 43.8% C 0.060 H 91.8°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#5E5129
RGBrgb(94, 81, 41)
HSLhsl(45, 39%, 26%)
HSVhsv(45, 56%, 37%)
CMYKcmyk(0%, 13.8%, 56.4%, 63.1%)
CIE-LABlab(34.85, -0.44, 25.29)
CIE-LCHlch(34.85, 25.30, 91.01°)
OKLaboklab(43.83% -0.0019 0.06)
OKLCHoklch(43.83% 0.06 91.8)
XYZxyz(7.9591, 8.4250, 3.3043)
Luminance0.0843 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5129 #29365E
analogous
#5E3729 #5E5129 #515E29
triadic
#5E5129 #295E51 #51295E
tetradic
#5E5129 #295E37 #29365E #5E2951
square
#5E5129 #295E37 #29365E #5E2951
split-complementary
#5E5129 #29515E #37295E
monochromatic
#151209 #332C16 #5E5129 #89763C #B29A4F

Accessibility & contrast

On white

7.82
#5E5129 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#5E5129 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E5129
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5129#FFFFFF#000000##FFFFFF
##5E51291.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595025
Deuteranopia (green-blind)
#5C542B
Tritanopia (blue-blind)
#654B48
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5e5129;
/* rgb */ color: rgb(94, 81, 41);
/* oklch */ color: oklch(43.8% 0.060 91.8);
Tailwind
colors: {
  custom: {
    50: '#8d8164',
    500: '#5e5129',
    950: '#000000',
  },
}
SCSS
$custom: #5e5129;
$custom-light: #8d8164;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5129",
  "rgb": {
    "r": 94,
    "g": 81,
    "b": 41
  },
  "hsl": {
    "h": 45.283,
    "s": 39.259,
    "l": 26.471
  },
  "oklch": {
    "l": 0.43827,
    "c": 0.06002,
    "h": 91.8
  },
  "luminance": 0.08425
}

Semantic roles & 50–950 ramp

primary
#5E5129
secondary
#526291
accent
#76CF59
background
#F8F7F6
surface
#F0EEEB
border
#CBC9C6
text
#0C0A05
muted
#7D7C7A

Preview Lab

Preview with #5E5129

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

Preview Lab → · Contrast checker → · Palette generator →

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