#5D641B#5D641B

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

Color values

HEX#5D641B
RGBrgb(93, 100, 27)
HSLhsl(66, 57%, 25%)
HSVhsv(66, 73%, 39%)
CMYKcmyk(7%, 0%, 73%, 60.8%)
CIE-LABlab(40.44, -13.15, 38.48)
CIE-LCHlch(40.44, 40.66, 108.86°)
OKLaboklab(48.21% -0.0397 0.0861)
OKLCHoklch(48.21% 0.095 114.7)
XYZxyz(9.2694, 11.5208, 2.7721)
Luminance0.1152 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D641B #221B64
analogous
#64461B #5D641B #39641B
triadic
#5D641B #1B5D64 #641B5D
tetradic
#5D641B #1B6446 #221B64 #641B39
square
#5D641B #1B6446 #221B64 #641B39
split-complementary
#5D641B #1B3964 #461B64
monochromatic
#161807 #30340E #5D641B #8A9428 #B7C435

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D641B#FFFFFF#000000##FFFFFF
##5D641B1.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)
#6C5F0F
Deuteranopia (green-blind)
#6B6020
Tritanopia (blue-blind)
#635E56
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5d641b;
/* rgb */ color: rgb(93, 100, 27);
/* oklch */ color: oklch(48.2% 0.095 114.7);
Tailwind
colors: {
  custom: {
    50: '#8d905c',
    500: '#5d641b',
    950: '#000000',
  },
}
SCSS
$custom: #5d641b;
$custom-light: #8d905c;
$custom-dark: #000000;
JSON
{
  "hex": "#5d641b",
  "rgb": {
    "r": 93,
    "g": 100,
    "b": 27
  },
  "hsl": {
    "h": 65.753,
    "s": 57.48,
    "l": 24.902
  },
  "oklch": {
    "l": 0.48207,
    "c": 0.09484,
    "h": 114.7
  },
  "luminance": 0.11521
}

Semantic roles & 50–950 ramp

primary
#5D641B
secondary
#4A4199
accent
#47E156
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5D641B

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

Preview Lab → · Contrast checker → · Palette generator →

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