#5E671C#5E671C

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

Color values

HEX#5E671C
RGBrgb(94, 103, 28)
HSLhsl(67, 57%, 26%)
HSVhsv(67, 73%, 40%)
CMYKcmyk(8.7%, 0%, 72.8%, 59.6%)
CIE-LABlab(41.48, -14.27, 39.12)
CIE-LCHlch(41.48, 41.64, 110.05°)
OKLaboklab(49.06% -0.0428 0.0876)
OKLCHoklch(49.06% 0.098 116)
XYZxyz(9.6762, 12.1642, 2.9366)
Luminance0.1216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E671C #251C67
analogous
#674A1C #5E671C #38671C
triadic
#5E671C #1C5E67 #671C5E
tetradic
#5E671C #1C674A #251C67 #671C38
square
#5E671C #1C674A #251C67 #671C38
split-complementary
#5E671C #1C3867 #4A1C67
monochromatic
#161807 #32370F #5E671C #8A9729 #B6C736

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E671C#FFFFFF#000000##FFFFFF
##5E671C1.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)
#6E6110
Deuteranopia (green-blind)
#6E6222
Tritanopia (blue-blind)
#646158
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5e671c;
/* rgb */ color: rgb(94, 103, 28);
/* oklch */ color: oklch(49.1% 0.098 116.0);
Tailwind
colors: {
  custom: {
    50: '#8e925d',
    500: '#5e671c',
    950: '#000000',
  },
}
SCSS
$custom: #5e671c;
$custom-light: #8e925d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e671c",
  "rgb": {
    "r": 94,
    "g": 103,
    "b": 28
  },
  "hsl": {
    "h": 67.2,
    "s": 57.252,
    "l": 25.686
  },
  "oklch": {
    "l": 0.49058,
    "c": 0.09752,
    "h": 116
  },
  "luminance": 0.12164
}

Semantic roles & 50–950 ramp

primary
#5E671C
secondary
#4D439C
accent
#47E15A
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0D0D04
muted
#7D7D79

Preview Lab

Preview with #5E671C

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

Preview Lab → · Contrast checker → · Palette generator →

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