#5C641B#5C641B

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

Color values

HEX#5C641B
RGBrgb(92, 100, 27)
HSLhsl(67, 57%, 25%)
HSVhsv(67, 73%, 39%)
CMYKcmyk(8%, 0%, 73%, 60.8%)
CIE-LABlab(40.36, -13.61, 38.37)
CIE-LCHlch(40.36, 40.71, 109.54°)
OKLaboklab(48.12% -0.0409 0.0859)
OKLCHoklch(48.12% 0.095 115.5)
XYZxyz(9.1689, 11.4689, 2.7674)
Luminance0.1147 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C641B #231B64
analogous
#64471B #5C641B #38641B
triadic
#5C641B #1B5C64 #641B5C
tetradic
#5C641B #1B6447 #231B64 #641B38
square
#5C641B #1B6447 #231B64 #641B38
split-complementary
#5C641B #1B3864 #471B64
monochromatic
#161807 #30340E #5C641B #889428 #B5C435

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C641B#FFFFFF#000000##FFFFFF
##5C641B1.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)
#6B5F10
Deuteranopia (green-blind)
#6B6021
Tritanopia (blue-blind)
#625E55
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5c641b;
/* rgb */ color: rgb(92, 100, 27);
/* oklch */ color: oklch(48.1% 0.095 115.5);
Tailwind
colors: {
  custom: {
    50: '#8d905c',
    500: '#5c641b',
    950: '#000000',
  },
}
SCSS
$custom: #5c641b;
$custom-light: #8d905c;
$custom-dark: #000000;
JSON
{
  "hex": "#5c641b",
  "rgb": {
    "r": 92,
    "g": 100,
    "b": 27
  },
  "hsl": {
    "h": 66.575,
    "s": 57.48,
    "l": 24.902
  },
  "oklch": {
    "l": 0.48118,
    "c": 0.09518,
    "h": 115.5
  },
  "luminance": 0.11469
}

Semantic roles & 50–950 ramp

primary
#5C641B
secondary
#4B4199
accent
#47E158
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5C641B

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

Preview Lab → · Contrast checker → · Palette generator →

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