#5A641E#5A641E

#5A641E is a mid, moderate yellow. Relative luminance 0.114; OKLCH L 48.0% C 0.094 H 117.0°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#5A641E
RGBrgb(90, 100, 30)
HSLhsl(69, 54%, 25%)
HSVhsv(69, 70%, 39%)
CMYKcmyk(10%, 0%, 70%, 60.8%)
CIE-LABlab(40.22, -14.35, 36.85)
CIE-LCHlch(40.22, 39.55, 111.27°)
OKLaboklab(47.97% -0.0425 0.0833)
OKLCHoklch(47.97% 0.094 117)
XYZxyz(9.0082, 11.3818, 2.9504)
Luminance0.1138 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A641E #281E64
analogous
#644B1E #5A641E #37641E
triadic
#5A641E #1E5A64 #641E5A
tetradic
#5A641E #1E644B #281E64 #641E37
square
#5A641E #1E644B #281E64 #641E37
split-complementary
#5A641E #1E3764 #4B1E64
monochromatic
#151807 #303510 #5A641E #84932C #AFC23A

Accessibility & contrast

On white

6.41
#5A641E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#5A641E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A641E
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A641E#FFFFFF#000000##FFFFFF
##5A641E1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5F14
Deuteranopia (green-blind)
#6A5F23
Tritanopia (blue-blind)
#605E56
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5a641e;
/* rgb */ color: rgb(90, 100, 30);
/* oklch */ color: oklch(48.0% 0.094 117.0);
Tailwind
colors: {
  custom: {
    50: '#8b905e',
    500: '#5a641e',
    950: '#000000',
  },
}
SCSS
$custom: #5a641e;
$custom-light: #8b905e;
$custom-dark: #000000;
JSON
{
  "hex": "#5a641e",
  "rgb": {
    "r": 90,
    "g": 100,
    "b": 30
  },
  "hsl": {
    "h": 68.571,
    "s": 53.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.47969,
    "c": 0.09354,
    "h": 117
  },
  "luminance": 0.11382
}

Semantic roles & 50–950 ramp

primary
#5A641E
secondary
#514599
accent
#4BDD60
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C05
muted
#7D7D79

Preview Lab

Preview with #5A641E

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

Preview Lab → · Contrast checker → · Palette generator →

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