#5D641F#5D641F

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

Color values

HEX#5D641F
RGBrgb(93, 100, 31)
HSLhsl(66, 53%, 26%)
HSVhsv(66, 69%, 39%)
CMYKcmyk(7%, 0%, 69%, 60.8%)
CIE-LABlab(40.48, -12.88, 36.75)
CIE-LCHlch(40.48, 38.94, 109.31°)
OKLaboklab(48.24% -0.0385 0.0832)
OKLCHoklch(48.24% 0.092 114.8)
XYZxyz(9.3189, 11.5406, 3.0327)
Luminance0.1154 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D641F #261F64
analogous
#64481F #5D641F #3A641F
triadic
#5D641F #1F5D64 #641F5D
tetradic
#5D641F #1F6448 #261F64 #641F3A
square
#5D641F #1F6448 #261F64 #641F3A
split-complementary
#5D641F #1F3A64 #481F64
monochromatic
#161707 #323511 #5D641F #88932D #B4C13C

Accessibility & contrast

On white

6.35
#5D641F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#5D641F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D641F
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D641F#FFFFFF#000000##FFFFFF
##5D641F1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5F16
Deuteranopia (green-blind)
#6B6024
Tritanopia (blue-blind)
#635E56
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5d641f;
/* rgb */ color: rgb(93, 100, 31);
/* oklch */ color: oklch(48.2% 0.092 114.8);
Tailwind
colors: {
  custom: {
    50: '#8d905f',
    500: '#5d641f',
    950: '#000000',
  },
}
SCSS
$custom: #5d641f;
$custom-light: #8d905f;
$custom-dark: #000000;
JSON
{
  "hex": "#5d641f",
  "rgb": {
    "r": 93,
    "g": 100,
    "b": 31
  },
  "hsl": {
    "h": 66.087,
    "s": 52.672,
    "l": 25.686
  },
  "oklch": {
    "l": 0.48243,
    "c": 0.09166,
    "h": 114.8
  },
  "luminance": 0.1154
}

Semantic roles & 50–950 ramp

primary
#5D641F
secondary
#4F4698
accent
#4CDC5A
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C05
muted
#7D7D79

Preview Lab

Preview with #5D641F

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

Preview Lab → · Contrast checker → · Palette generator →

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