#5E671F#5E671F

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

Color values

HEX#5E671F
RGBrgb(94, 103, 31)
HSLhsl(68, 54%, 26%)
HSVhsv(68, 70%, 40%)
CMYKcmyk(8.7%, 0%, 69.9%, 59.6%)
CIE-LABlab(41.50, -14.07, 37.84)
CIE-LCHlch(41.50, 40.37, 110.40°)
OKLaboklab(49.09% -0.0419 0.0855)
OKLCHoklch(49.09% 0.095 116.1)
XYZxyz(9.7139, 12.1792, 3.1352)
Luminance0.1218 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E671F #281F67
analogous
#674C1F #5E671F #3A671F
triadic
#5E671F #1F5E67 #671F5E
tetradic
#5E671F #1F674C #281F67 #671F3A
square
#5E671F #1F674C #281F67 #671F3A
split-complementary
#5E671F #1F3A67 #4C1F67
monochromatic
#151807 #333811 #5E671F #89962D #B3C43C

Accessibility & contrast

On white

6.11
#5E671F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#5E671F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E671F
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E671F#FFFFFF#000000##FFFFFF
##5E671F1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e671f;
/* rgb */ color: rgb(94, 103, 31);
/* oklch */ color: oklch(49.1% 0.095 116.1);
Tailwind
colors: {
  custom: {
    50: '#8e925f',
    500: '#5e671f',
    950: '#000000',
  },
}
SCSS
$custom: #5e671f;
$custom-light: #8e925f;
$custom-dark: #000000;
JSON
{
  "hex": "#5e671f",
  "rgb": {
    "r": 94,
    "g": 103,
    "b": 31
  },
  "hsl": {
    "h": 67.5,
    "s": 53.731,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49085,
    "c": 0.09518,
    "h": 116.1
  },
  "luminance": 0.12179
}

Semantic roles & 50–950 ramp

primary
#5E671F
secondary
#51469B
accent
#4BDD5D
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0D05
muted
#7D7D79

Preview Lab

Preview with #5E671F

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

Preview Lab → · Contrast checker → · Palette generator →

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