#5B641C#5B641C

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

Color values

HEX#5B641C
RGBrgb(91, 100, 28)
HSLhsl(68, 56%, 25%)
HSVhsv(68, 72%, 39%)
CMYKcmyk(9%, 0%, 72%, 60.8%)
CIE-LABlab(40.28, -14.02, 37.83)
CIE-LCHlch(40.28, 40.35, 110.33°)
OKLaboklab(48.04% -0.0419 0.085)
OKLCHoklch(48.04% 0.095 116.2)
XYZxyz(9.0814, 11.4225, 2.8247)
Luminance0.1142 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B641C #251C64
analogous
#64491C #5B641C #37641C
triadic
#5B641C #1C5B64 #641C5B
tetradic
#5B641C #1C6449 #251C64 #641C37
square
#5B641C #1C6449 #251C64 #641C37
split-complementary
#5B641C #1C3764 #491C64
monochromatic
#161807 #2F340F #5B641C #879429 #B2C437

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B641C#FFFFFF#000000##FFFFFF
##5B641C1.006.393.286.39
#FFFFFF6.391.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b641c;
/* rgb */ color: rgb(91, 100, 28);
/* oklch */ color: oklch(48.0% 0.095 116.2);
Tailwind
colors: {
  custom: {
    50: '#8c905d',
    500: '#5b641c',
    950: '#000000',
  },
}
SCSS
$custom: #5b641c;
$custom-light: #8c905d;
$custom-dark: #000000;
JSON
{
  "hex": "#5b641c",
  "rgb": {
    "r": 91,
    "g": 100,
    "b": 28
  },
  "hsl": {
    "h": 67.5,
    "s": 56.25,
    "l": 25.098
  },
  "oklch": {
    "l": 0.48038,
    "c": 0.09478,
    "h": 116.2
  },
  "luminance": 0.11422
}

Semantic roles & 50–950 ramp

primary
#5B641C
secondary
#4D4399
accent
#48E05B
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5B641C

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

Preview Lab → · Contrast checker → · Palette generator →

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