#5E5727#5E5727

#5E5727 is a mid, moderate yellow. Relative luminance 0.093; OKLCH L 45.2% C 0.068 H 101.1°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#5E5727
RGBrgb(94, 87, 39)
HSLhsl(52, 41%, 26%)
HSVhsv(52, 59%, 37%)
CMYKcmyk(0%, 7.4%, 58.5%, 63.1%)
CIE-LABlab(36.64, -4.25, 28.52)
CIE-LCHlch(36.64, 28.83, 98.47°)
OKLaboklab(45.23% -0.0131 0.0668)
OKLCHoklch(45.23% 0.068 101.1)
XYZxyz(8.3908, 9.3429, 3.2804)
Luminance0.0934 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5727 #272E5E
analogous
#5E3B27 #5E5727 #495E27
triadic
#5E5727 #275E57 #57275E
tetradic
#5E5727 #275E3B #272E5E #5E2749
square
#5E5727 #275E3B #272E5E #5E2749
split-complementary
#5E5727 #27495E #3B275E
monochromatic
#161409 #332F15 #5E5727 #897F39 #B4A74B

Accessibility & contrast

On white

7.32
#5E5727 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#5E5727 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E5727
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5727#FFFFFF#000000##FFFFFF
##5E57271.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5522
Deuteranopia (green-blind)
#615729
Tritanopia (blue-blind)
#65514C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5e5727;
/* rgb */ color: rgb(94, 87, 39);
/* oklch */ color: oklch(45.2% 0.068 101.1);
Tailwind
colors: {
  custom: {
    50: '#8d8663',
    500: '#5e5727',
    950: '#000000',
  },
}
SCSS
$custom: #5e5727;
$custom-light: #8d8663;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5727",
  "rgb": {
    "r": 94,
    "g": 87,
    "b": 39
  },
  "hsl": {
    "h": 52.364,
    "s": 41.353,
    "l": 26.078
  },
  "oklch": {
    "l": 0.4523,
    "c": 0.06808,
    "h": 101.1
  },
  "luminance": 0.09343
}

Semantic roles & 50–950 ramp

primary
#5E5727
secondary
#505891
accent
#66D157
background
#F8F8F5
surface
#F0EFEA
border
#CBCAC6
text
#0C0B05
muted
#7D7C79

Preview Lab

Preview with #5E5727

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

Preview Lab → · Contrast checker → · Palette generator →

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