#5F641B#5F641B

#5F641B is a mid, moderate yellow. Relative luminance 0.116; OKLCH L 48.4% C 0.094 H 113.3°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#5F641B
RGBrgb(95, 100, 27)
HSLhsl(64, 57%, 25%)
HSVhsv(64, 73%, 39%)
CMYKcmyk(5%, 0%, 73%, 60.8%)
CIE-LABlab(40.62, -12.20, 38.71)
CIE-LCHlch(40.62, 40.59, 107.50°)
OKLaboklab(48.39% -0.0372 0.0866)
OKLCHoklch(48.39% 0.094 113.3)
XYZxyz(9.4746, 11.6266, 2.7817)
Luminance0.1163 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F641B #201B64
analogous
#64451B #5F641B #3A641B
triadic
#5F641B #1B5F64 #641B5F
tetradic
#5F641B #1B6445 #201B64 #641B3A
square
#5F641B #1B6445 #201B64 #641B3A
split-complementary
#5F641B #1B3A64 #451B64
monochromatic
#171807 #31340E #5F641B #8D9428 #BBC435

Accessibility & contrast

On white

6.32
#5F641B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#5F641B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F641B
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F641B#FFFFFF#000000##FFFFFF
##5F641B1.006.323.336.32
#FFFFFF6.321.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F0F
Deuteranopia (green-blind)
#6C6120
Tritanopia (blue-blind)
#665E56
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5f641b;
/* rgb */ color: rgb(95, 100, 27);
/* oklch */ color: oklch(48.4% 0.094 113.3);
Tailwind
colors: {
  custom: {
    50: '#8f905d',
    500: '#5f641b',
    950: '#000000',
  },
}
SCSS
$custom: #5f641b;
$custom-light: #8f905d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f641b",
  "rgb": {
    "r": 95,
    "g": 100,
    "b": 27
  },
  "hsl": {
    "h": 64.11,
    "s": 57.48,
    "l": 24.902
  },
  "oklch": {
    "l": 0.48388,
    "c": 0.09421,
    "h": 113.3
  },
  "luminance": 0.11626
}

Semantic roles & 50–950 ramp

primary
#5F641B
secondary
#474199
accent
#47E152
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5F641B

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

Preview Lab → · Contrast checker → · Palette generator →

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