#5A641C#5A641C

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

Color values

HEX#5A641C
RGBrgb(90, 100, 28)
HSLhsl(68, 56%, 25%)
HSVhsv(68, 72%, 39%)
CMYKcmyk(10%, 0%, 72%, 60.8%)
CIE-LABlab(40.20, -14.48, 37.72)
CIE-LCHlch(40.20, 40.41, 111.01°)
OKLaboklab(47.95% -0.0431 0.0848)
OKLCHoklch(47.95% 0.095 117)
XYZxyz(8.9834, 11.3719, 2.8201)
Luminance0.1137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A641C #261C64
analogous
#644A1C #5A641C #36641C
triadic
#5A641C #1C5A64 #641C5A
tetradic
#5A641C #1C644A #261C64 #641C36
square
#5A641C #1C644A #261C64 #641C36
split-complementary
#5A641C #1C3664 #4A1C64
monochromatic
#161807 #2F340F #5A641C #859429 #B0C437

Accessibility & contrast

On white

6.41
#5A641C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#5A641C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A641C
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A641C#FFFFFF#000000##FFFFFF
##5A641C1.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a641c;
/* rgb */ color: rgb(90, 100, 28);
/* oklch */ color: oklch(48.0% 0.095 117.0);
Tailwind
colors: {
  custom: {
    50: '#8b905d',
    500: '#5a641c',
    950: '#000000',
  },
}
SCSS
$custom: #5a641c;
$custom-light: #8b905d;
$custom-dark: #000000;
JSON
{
  "hex": "#5a641c",
  "rgb": {
    "r": 90,
    "g": 100,
    "b": 28
  },
  "hsl": {
    "h": 68.333,
    "s": 56.25,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47951,
    "c": 0.09514,
    "h": 117
  },
  "luminance": 0.11372
}

Semantic roles & 50–950 ramp

primary
#5A641C
secondary
#4F4399
accent
#48E05D
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5A641C

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

Preview Lab → · Contrast checker → · Palette generator →

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