#5B641E#5B641E

#5B641E is a mid, moderate yellow. Relative luminance 0.114; OKLCH L 48.1% C 0.093 H 116.3°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#5B641E
RGBrgb(91, 100, 30)
HSLhsl(68, 54%, 25%)
HSVhsv(68, 70%, 39%)
CMYKcmyk(9%, 0%, 70%, 60.8%)
CIE-LABlab(40.30, -13.88, 36.96)
CIE-LCHlch(40.30, 39.48, 110.58°)
OKLaboklab(48.06% -0.0413 0.0835)
OKLCHoklch(48.06% 0.093 116.3)
XYZxyz(9.1061, 11.4323, 2.9550)
Luminance0.1143 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B641E #271E64
analogous
#644A1E #5B641E #38641E
triadic
#5B641E #1E5B64 #641E5B
tetradic
#5B641E #1E644A #271E64 #641E38
square
#5B641E #1E644A #271E64 #641E38
split-complementary
#5B641E #1E3864 #4A1E64
monochromatic
#151807 #303510 #5B641E #86932C #B1C23A

Accessibility & contrast

On white

6.39
#5B641E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#5B641E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B641E
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B641E#FFFFFF#000000##FFFFFF
##5B641E1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b641e;
/* rgb */ color: rgb(91, 100, 30);
/* oklch */ color: oklch(48.1% 0.093 116.3);
Tailwind
colors: {
  custom: {
    50: '#8c905e',
    500: '#5b641e',
    950: '#000000',
  },
}
SCSS
$custom: #5b641e;
$custom-light: #8c905e;
$custom-dark: #000000;
JSON
{
  "hex": "#5b641e",
  "rgb": {
    "r": 91,
    "g": 100,
    "b": 30
  },
  "hsl": {
    "h": 67.714,
    "s": 53.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.48057,
    "c": 0.09317,
    "h": 116.3
  },
  "luminance": 0.11432
}

Semantic roles & 50–950 ramp

primary
#5B641E
secondary
#504599
accent
#4BDD5D
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C05
muted
#7D7D79

Preview Lab

Preview with #5B641E

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

Preview Lab → · Contrast checker → · Palette generator →

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