#5F641A#5F641A

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

Color values

HEX#5F641A
RGBrgb(95, 100, 26)
HSLhsl(64, 59%, 25%)
HSVhsv(64, 74%, 39%)
CMYKcmyk(5%, 0%, 74%, 60.8%)
CIE-LABlab(40.61, -12.26, 39.12)
CIE-LCHlch(40.61, 41.00, 107.40°)
OKLaboklab(48.38% -0.0375 0.0872)
OKLCHoklch(48.38% 0.095 113.2)
XYZxyz(9.4632, 11.6220, 2.7219)
Luminance0.1162 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F641A #1F1A64
analogous
#64441A #5F641A #3A641A
triadic
#5F641A #1A5F64 #641A5F
tetradic
#5F641A #1A6444 #1F1A64 #641A3A
square
#5F641A #1A6444 #1F1A64 #641A3A
split-complementary
#5F641A #1A3A64 #441A64
monochromatic
#171806 #31330D #5F641A #8D9527 #BBC533

Accessibility & contrast

On white

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

On black

3.32
#5F641A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5F641A#FFFFFF#000000##FFFFFF
##5F641A1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F0E
Deuteranopia (green-blind)
#6C6020
Tritanopia (blue-blind)
#665E55
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5f641a;
/* rgb */ color: rgb(95, 100, 26);
/* oklch */ color: oklch(48.4% 0.095 113.2);
Tailwind
colors: {
  custom: {
    50: '#8f905c',
    500: '#5f641a',
    950: '#000000',
  },
}
SCSS
$custom: #5f641a;
$custom-light: #8f905c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f641a",
  "rgb": {
    "r": 95,
    "g": 100,
    "b": 26
  },
  "hsl": {
    "h": 64.054,
    "s": 58.73,
    "l": 24.706
  },
  "oklch": {
    "l": 0.4838,
    "c": 0.09494,
    "h": 113.2
  },
  "luminance": 0.11622
}

Semantic roles & 50–950 ramp

primary
#5F641A
secondary
#46409A
accent
#46E250
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5F641A

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

Preview Lab → · Contrast checker → · Palette generator →

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