#5C641A#5C641A

#5C641A is a mid, moderate yellow. Relative luminance 0.115; OKLCH L 48.1% C 0.096 H 115.4°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#5C641A
RGBrgb(92, 100, 26)
HSLhsl(66, 59%, 25%)
HSVhsv(66, 74%, 39%)
CMYKcmyk(8%, 0%, 74%, 60.8%)
CIE-LABlab(40.35, -13.68, 38.78)
CIE-LCHlch(40.35, 41.12, 109.43°)
OKLaboklab(48.11% -0.0412 0.0866)
OKLCHoklch(48.11% 0.096 115.4)
XYZxyz(9.1575, 11.4644, 2.7075)
Luminance0.1146 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C641A #221A64
analogous
#64471A #5C641A #37641A
triadic
#5C641A #1A5C64 #641A5C
tetradic
#5C641A #1A6447 #221A64 #641A37
square
#5C641A #1A6447 #221A64 #641A37
split-complementary
#5C641A #1A3764 #471A64
monochromatic
#161806 #2F330D #5C641A #899527 #B5C533

Accessibility & contrast

On white

6.38
#5C641A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5C641A
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C641A#FFFFFF#000000##FFFFFF
##5C641A1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5F0E
Deuteranopia (green-blind)
#6B6020
Tritanopia (blue-blind)
#625E55
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5c641a;
/* rgb */ color: rgb(92, 100, 26);
/* oklch */ color: oklch(48.1% 0.096 115.4);
Tailwind
colors: {
  custom: {
    50: '#8d905c',
    500: '#5c641a',
    950: '#000000',
  },
}
SCSS
$custom: #5c641a;
$custom-light: #8d905c;
$custom-dark: #000000;
JSON
{
  "hex": "#5c641a",
  "rgb": {
    "r": 92,
    "g": 100,
    "b": 26
  },
  "hsl": {
    "h": 66.486,
    "s": 58.73,
    "l": 24.706
  },
  "oklch": {
    "l": 0.4811,
    "c": 0.09593,
    "h": 115.4
  },
  "luminance": 0.11464
}

Semantic roles & 50–950 ramp

primary
#5C641A
secondary
#4A409A
accent
#46E257
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5C641A

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

Preview Lab → · Contrast checker → · Palette generator →

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