#5B641A#5B641A

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

Color values

HEX#5B641A
RGBrgb(91, 100, 26)
HSLhsl(67, 59%, 25%)
HSVhsv(67, 74%, 39%)
CMYKcmyk(9%, 0%, 74%, 60.8%)
CIE-LABlab(40.27, -14.15, 38.67)
CIE-LCHlch(40.27, 41.18, 110.09°)
OKLaboklab(48.02% -0.0425 0.0864)
OKLCHoklch(48.02% 0.096 116.2)
XYZxyz(9.0582, 11.4132, 2.7029)
Luminance0.1141 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B641A #231A64
analogous
#64481A #5B641A #36641A
triadic
#5B641A #1A5B64 #641A5B
tetradic
#5B641A #1A6448 #231A64 #641A36
square
#5B641A #1A6448 #231A64 #641A36
split-complementary
#5B641A #1A3664 #481A64
monochromatic
#161806 #2F330D #5B641A #879527 #B3C533

Accessibility & contrast

On white

6.40
#5B641A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5B641A
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B641A#FFFFFF#000000##FFFFFF
##5B641A1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5F0E
Deuteranopia (green-blind)
#6B5F20
Tritanopia (blue-blind)
#615E55
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5b641a;
/* rgb */ color: rgb(91, 100, 26);
/* oklch */ color: oklch(48.0% 0.096 116.2);
Tailwind
colors: {
  custom: {
    50: '#8c905c',
    500: '#5b641a',
    950: '#000000',
  },
}
SCSS
$custom: #5b641a;
$custom-light: #8c905c;
$custom-dark: #000000;
JSON
{
  "hex": "#5b641a",
  "rgb": {
    "r": 91,
    "g": 100,
    "b": 26
  },
  "hsl": {
    "h": 67.297,
    "s": 58.73,
    "l": 24.706
  },
  "oklch": {
    "l": 0.48021,
    "c": 0.09629,
    "h": 116.2
  },
  "luminance": 0.11413
}

Semantic roles & 50–950 ramp

primary
#5B641A
secondary
#4B409A
accent
#46E259
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5B641A

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

Preview Lab → · Contrast checker → · Palette generator →

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