#5D641A#5D641A

#5D641A is a mid, moderate yellow. Relative luminance 0.115; OKLCH L 48.2% C 0.096 H 114.7°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#5D641A
RGBrgb(93, 100, 26)
HSLhsl(66, 59%, 25%)
HSVhsv(66, 74%, 39%)
CMYKcmyk(7%, 0%, 74%, 60.8%)
CIE-LABlab(40.44, -13.21, 38.90)
CIE-LCHlch(40.44, 41.08, 108.75°)
OKLaboklab(48.2% -0.04 0.0868)
OKLCHoklch(48.2% 0.096 114.7)
XYZxyz(9.2581, 11.5162, 2.7122)
Luminance0.1152 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D641A #211A64
analogous
#64461A #5D641A #38641A
triadic
#5D641A #1A5D64 #641A5D
tetradic
#5D641A #1A6446 #211A64 #641A38
square
#5D641A #1A6446 #211A64 #641A38
split-complementary
#5D641A #1A3864 #461A64
monochromatic
#171806 #30330D #5D641A #8A9527 #B7C533

Accessibility & contrast

On white

6.36
#5D641A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#5D641A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D641A
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D641A#FFFFFF#000000##FFFFFF
##5D641A1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F0E
Deuteranopia (green-blind)
#6B6020
Tritanopia (blue-blind)
#635E55
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5d641a;
/* rgb */ color: rgb(93, 100, 26);
/* oklch */ color: oklch(48.2% 0.096 114.7);
Tailwind
colors: {
  custom: {
    50: '#8d905c',
    500: '#5d641a',
    950: '#000000',
  },
}
SCSS
$custom: #5d641a;
$custom-light: #8d905c;
$custom-dark: #000000;
JSON
{
  "hex": "#5d641a",
  "rgb": {
    "r": 93,
    "g": 100,
    "b": 26
  },
  "hsl": {
    "h": 65.676,
    "s": 58.73,
    "l": 24.706
  },
  "oklch": {
    "l": 0.48199,
    "c": 0.09559,
    "h": 114.7
  },
  "luminance": 0.11516
}

Semantic roles & 50–950 ramp

primary
#5D641A
secondary
#49409A
accent
#46E255
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5D641A

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

Preview Lab → · Contrast checker → · Palette generator →

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