#5E671B#5E671B

#5E671B is a mid, moderate yellow. Relative luminance 0.122; OKLCH L 49.0% C 0.098 H 116.0°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#5E671B
RGBrgb(94, 103, 27)
HSLhsl(67, 58%, 25%)
HSVhsv(67, 74%, 40%)
CMYKcmyk(8.7%, 0%, 73.8%, 59.6%)
CIE-LABlab(41.47, -14.34, 39.53)
CIE-LCHlch(41.47, 42.05, 109.93°)
OKLaboklab(49.05% -0.0431 0.0883)
OKLCHoklch(49.05% 0.098 116)
XYZxyz(9.6644, 12.1595, 2.8746)
Luminance0.1216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E671B #241B67
analogous
#674A1B #5E671B #38671B
triadic
#5E671B #1B5E67 #671B5E
tetradic
#5E671B #1B674A #241B67 #671B38
square
#5E671B #1B674A #241B67 #671B38
split-complementary
#5E671B #1B3867 #4A1B67
monochromatic
#161806 #32370E #5E671B #8A9728 #B7C834

Accessibility & contrast

On white

6.12
#5E671B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#5E671B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E671B
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E671B#FFFFFF#000000##FFFFFF
##5E671B1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F610E
Deuteranopia (green-blind)
#6E6221
Tritanopia (blue-blind)
#646158
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5e671b;
/* rgb */ color: rgb(94, 103, 27);
/* oklch */ color: oklch(49.0% 0.098 116.0);
Tailwind
colors: {
  custom: {
    50: '#8e925d',
    500: '#5e671b',
    950: '#000000',
  },
}
SCSS
$custom: #5e671b;
$custom-light: #8e925d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e671b",
  "rgb": {
    "r": 94,
    "g": 103,
    "b": 27
  },
  "hsl": {
    "h": 67.105,
    "s": 58.462,
    "l": 25.49
  },
  "oklch": {
    "l": 0.4905,
    "c": 0.09826,
    "h": 116
  },
  "luminance": 0.12159
}

Semantic roles & 50–950 ramp

primary
#5E671B
secondary
#4C429C
accent
#46E259
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0D0D04
muted
#7D7D79

Preview Lab

Preview with #5E671B

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

Preview Lab → · Contrast checker → · Palette generator →

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