#5A641A#5A641A

#5A641A is a mid, moderate yellow. Relative luminance 0.114; OKLCH L 47.9% C 0.097 H 116.9°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#5A641A
RGBrgb(90, 100, 26)
HSLhsl(68, 59%, 25%)
HSVhsv(68, 74%, 39%)
CMYKcmyk(10%, 0%, 74%, 60.8%)
CIE-LABlab(40.18, -14.61, 38.56)
CIE-LCHlch(40.18, 41.24, 110.76°)
OKLaboklab(47.93% -0.0437 0.0862)
OKLCHoklch(47.93% 0.097 116.9)
XYZxyz(8.9603, 11.3627, 2.6983)
Luminance0.1136 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A641A #241A64
analogous
#64491A #5A641A #35641A
triadic
#5A641A #1A5A64 #641A5A
tetradic
#5A641A #1A6449 #241A64 #641A35
square
#5A641A #1A6449 #241A64 #641A35
split-complementary
#5A641A #1A3564 #491A64
monochromatic
#161806 #2E330D #5A641A #869527 #B1C533

Accessibility & contrast

On white

6.42
#5A641A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#5A641A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A641A
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A641A#FFFFFF#000000##FFFFFF
##5A641A1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E0E
Deuteranopia (green-blind)
#6A5F20
Tritanopia (blue-blind)
#605E55
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5a641a;
/* rgb */ color: rgb(90, 100, 26);
/* oklch */ color: oklch(47.9% 0.097 116.9);
Tailwind
colors: {
  custom: {
    50: '#8b905c',
    500: '#5a641a',
    950: '#000000',
  },
}
SCSS
$custom: #5a641a;
$custom-light: #8b905c;
$custom-dark: #000000;
JSON
{
  "hex": "#5a641a",
  "rgb": {
    "r": 90,
    "g": 100,
    "b": 26
  },
  "hsl": {
    "h": 68.108,
    "s": 58.73,
    "l": 24.706
  },
  "oklch": {
    "l": 0.47934,
    "c": 0.09666,
    "h": 116.9
  },
  "luminance": 0.11363
}

Semantic roles & 50–950 ramp

primary
#5A641A
secondary
#4C409A
accent
#46E25B
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5A641A

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

Preview Lab → · Contrast checker → · Palette generator →

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