#5E4F17#5E4F17

#5E4F17 is a dark, moderate yellow. Relative luminance 0.080; OKLCH L 43.1% C 0.076 H 93.7°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#5E4F17
RGBrgb(94, 79, 23)
HSLhsl(47, 61%, 23%)
HSVhsv(47, 76%, 37%)
CMYKcmyk(0%, 16%, 75.5%, 63.1%)
CIE-LABlab(34.05, -0.65, 33.86)
CIE-LCHlch(34.05, 33.87, 91.10°)
OKLaboklab(43.13% -0.005 0.0756)
OKLCHoklch(43.13% 0.076 93.7)
XYZxyz(7.5671, 8.0339, 1.9626)
Luminance0.0803 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4F17 #17265E
analogous
#5E2B17 #5E4F17 #495E17
triadic
#5E4F17 #175E4F #4F175E
tetradic
#5E4F17 #175E2B #17265E #5E1749
square
#5E4F17 #175E2B #17265E #5E1749
split-complementary
#5E4F17 #17495E #2B175E
monochromatic
#191506 #2D260B #5E4F17 #8F7823 #C0A22F

Accessibility & contrast

On white

8.06
#5E4F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#5E4F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E4F17
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4F17#FFFFFF#000000##FFFFFF
##5E4F171.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D0F
Deuteranopia (green-blind)
#5C521A
Tritanopia (blue-blind)
#664844
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5e4f17;
/* rgb */ color: rgb(94, 79, 23);
/* oklch */ color: oklch(43.1% 0.076 93.7);
Tailwind
colors: {
  custom: {
    50: '#8e8058',
    500: '#5e4f17',
    950: '#000000',
  },
}
SCSS
$custom: #5e4f17;
$custom-light: #8e8058;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4f17",
  "rgb": {
    "r": 94,
    "g": 79,
    "b": 23
  },
  "hsl": {
    "h": 47.324,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.43132,
    "c": 0.07574,
    "h": 93.7
  },
  "luminance": 0.08034
}

Semantic roles & 50–950 ramp

primary
#5E4F17
secondary
#3C4F95
accent
#66E444
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5E4F17

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

Preview Lab → · Contrast checker → · Palette generator →

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