#5A651D#5A651D

#5A651D is a mid, moderate yellow. Relative luminance 0.116; OKLCH L 48.2% C 0.096 H 117.6°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#5A651D
RGBrgb(90, 101, 29)
HSLhsl(69, 55%, 25%)
HSVhsv(69, 71%, 40%)
CMYKcmyk(10.9%, 0%, 71.3%, 60.4%)
CIE-LABlab(40.52, -14.97, 37.62)
CIE-LCHlch(40.52, 40.48, 111.70°)
OKLaboklab(48.21% -0.0443 0.0848)
OKLCHoklch(48.21% 0.096 117.6)
XYZxyz(9.0921, 11.5698, 2.9164)
Luminance0.1157 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A651D #281D65
analogous
#654C1D #5A651D #36651D
triadic
#5A651D #1D5A65 #651D5A
tetradic
#5A651D #1D654C #281D65 #651D36
square
#5A651D #1D654C #281D65 #651D36
split-complementary
#5A651D #1D3665 #4C1D65
monochromatic
#151807 #30350F #5A651D #84952B #AFC438

Accessibility & contrast

On white

6.34
#5A651D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#5A651D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A651D
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A651D#FFFFFF#000000##FFFFFF
##5A651D1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F12
Deuteranopia (green-blind)
#6B6022
Tritanopia (blue-blind)
#605F57
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5a651d;
/* rgb */ color: rgb(90, 101, 29);
/* oklch */ color: oklch(48.2% 0.096 117.6);
Tailwind
colors: {
  custom: {
    50: '#8b905e',
    500: '#5a651d',
    950: '#000000',
  },
}
SCSS
$custom: #5a651d;
$custom-light: #8b905e;
$custom-dark: #000000;
JSON
{
  "hex": "#5a651d",
  "rgb": {
    "r": 90,
    "g": 101,
    "b": 29
  },
  "hsl": {
    "h": 69.167,
    "s": 55.385,
    "l": 25.49
  },
  "oklch": {
    "l": 0.48214,
    "c": 0.09566,
    "h": 117.6
  },
  "luminance": 0.1157
}

Semantic roles & 50–950 ramp

primary
#5A651D
secondary
#51449A
accent
#49DF60
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5A651D

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

Preview Lab → · Contrast checker → · Palette generator →

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