#5A651A#5A651A

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

Color values

HEX#5A651A
RGBrgb(90, 101, 26)
HSLhsl(69, 59%, 25%)
HSVhsv(69, 74%, 40%)
CMYKcmyk(10.9%, 0%, 74.3%, 60.4%)
CIE-LABlab(40.50, -15.16, 38.88)
CIE-LCHlch(40.50, 41.73, 111.31°)
OKLaboklab(48.19% -0.0452 0.0869)
OKLCHoklch(48.19% 0.098 117.5)
XYZxyz(9.0568, 11.5557, 2.7304)
Luminance0.1156 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A651A #251A65
analogous
#654B1A #5A651A #35651A
triadic
#5A651A #1A5A65 #651A5A
tetradic
#5A651A #1A654B #251A65 #651A35
square
#5A651A #1A654B #251A65 #651A35
split-complementary
#5A651A #1A3565 #4B1A65
monochromatic
#161806 #2F340D #5A651A #859627 #B1C633

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A651A#FFFFFF#000000##FFFFFF
##5A651A1.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)
#6C5F0E
Deuteranopia (green-blind)
#6B6020
Tritanopia (blue-blind)
#605F56
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5a651a;
/* rgb */ color: rgb(90, 101, 26);
/* oklch */ color: oklch(48.2% 0.098 117.5);
Tailwind
colors: {
  custom: {
    50: '#8b905c',
    500: '#5a651a',
    950: '#000000',
  },
}
SCSS
$custom: #5a651a;
$custom-light: #8b905c;
$custom-dark: #000000;
JSON
{
  "hex": "#5a651a",
  "rgb": {
    "r": 90,
    "g": 101,
    "b": 26
  },
  "hsl": {
    "h": 68.8,
    "s": 59.055,
    "l": 24.902
  },
  "oklch": {
    "l": 0.48188,
    "c": 0.09794,
    "h": 117.5
  },
  "luminance": 0.11556
}

Semantic roles & 50–950 ramp

primary
#5A651A
secondary
#4D409B
accent
#46E25D
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5A651A

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

Preview Lab → · Contrast checker → · Palette generator →

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