#5E661A#5E661A

#5E661A is a mid, moderate yellow. Relative luminance 0.120; OKLCH L 48.8% C 0.098 H 115.3°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#5E661A
RGBrgb(94, 102, 26)
HSLhsl(66, 59%, 25%)
HSVhsv(66, 75%, 40%)
CMYKcmyk(7.8%, 0%, 74.5%, 60%)
CIE-LABlab(41.15, -13.85, 39.63)
CIE-LCHlch(41.15, 41.98, 109.26°)
OKLaboklab(48.79% -0.0418 0.0883)
OKLCHoklch(48.79% 0.098 115.3)
XYZxyz(9.5542, 11.9572, 2.7817)
Luminance0.1196 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E661A #221A66
analogous
#66481A #5E661A #38661A
triadic
#5E661A #1A5E66 #661A5E
tetradic
#5E661A #1A6648 #221A66 #661A38
square
#5E661A #1A6648 #221A66 #661A38
split-complementary
#5E661A #1A3866 #481A66
monochromatic
#161806 #31350E #5E661A #8B9726 #B8C833

Accessibility & contrast

On white

6.19
#5E661A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#5E661A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E661A
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E661A#FFFFFF#000000##FFFFFF
##5E661A1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E610D
Deuteranopia (green-blind)
#6D6220
Tritanopia (blue-blind)
#646057
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5e661a;
/* rgb */ color: rgb(94, 102, 26);
/* oklch */ color: oklch(48.8% 0.098 115.3);
Tailwind
colors: {
  custom: {
    50: '#8e915c',
    500: '#5e661a',
    950: '#000000',
  },
}
SCSS
$custom: #5e661a;
$custom-light: #8e915c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e661a",
  "rgb": {
    "r": 94,
    "g": 102,
    "b": 26
  },
  "hsl": {
    "h": 66.316,
    "s": 59.375,
    "l": 25.098
  },
  "oklch": {
    "l": 0.4879,
    "c": 0.09773,
    "h": 115.3
  },
  "luminance": 0.11957
}

Semantic roles & 50–950 ramp

primary
#5E661A
secondary
#4A409C
accent
#45E356
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0D0C04
muted
#7D7D79

Preview Lab

Preview with #5E661A

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

Preview Lab → · Contrast checker → · Palette generator →

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