#5E5229#5E5229

#5E5229 is a dark, moderate yellow. Relative luminance 0.086; OKLCH L 44.1% C 0.061 H 93.4°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#5E5229
RGBrgb(94, 82, 41)
HSLhsl(46, 39%, 26%)
HSVhsv(46, 56%, 37%)
CMYKcmyk(0%, 12.8%, 56.4%, 63.1%)
CIE-LABlab(35.15, -1.05, 25.65)
CIE-LCHlch(35.15, 25.67, 92.35°)
OKLaboklab(44.06% -0.0036 0.0608)
OKLCHoklch(44.06% 0.061 93.4)
XYZxyz(8.0339, 8.5747, 3.3293)
Luminance0.0857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5229 #29355E
analogous
#5E3829 #5E5229 #505E29
triadic
#5E5229 #295E52 #52295E
tetradic
#5E5229 #295E38 #29355E #5E2950
square
#5E5229 #295E38 #29355E #5E2950
split-complementary
#5E5229 #29505E #38295E
monochromatic
#151309 #332D16 #5E5229 #89773C #B29C4F

Accessibility & contrast

On white

7.74
#5E5229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#5E5229 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E5229
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5229#FFFFFF#000000##FFFFFF
##5E52291.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5125
Deuteranopia (green-blind)
#5D542B
Tritanopia (blue-blind)
#654C48
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5e5229;
/* rgb */ color: rgb(94, 82, 41);
/* oklch */ color: oklch(44.1% 0.061 93.4);
Tailwind
colors: {
  custom: {
    50: '#8d8264',
    500: '#5e5229',
    950: '#000000',
  },
}
SCSS
$custom: #5e5229;
$custom-light: #8d8264;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5229",
  "rgb": {
    "r": 94,
    "g": 82,
    "b": 41
  },
  "hsl": {
    "h": 46.415,
    "s": 39.259,
    "l": 26.471
  },
  "oklch": {
    "l": 0.44064,
    "c": 0.06089,
    "h": 93.4
  },
  "luminance": 0.08574
}

Semantic roles & 50–950 ramp

primary
#5E5229
secondary
#526091
accent
#73CF59
background
#F8F7F6
surface
#F0EEEB
border
#CBC9C6
text
#0C0A05
muted
#7D7C7A

Preview Lab

Preview with #5E5229

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

Preview Lab → · Contrast checker → · Palette generator →

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