#A5A378#A5A378

#A5A378 is a light, muted yellow. Relative luminance 0.355; OKLCH L 70.6% C 0.059 H 105.6°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#A5A378
RGBrgb(165, 163, 120)
HSLhsl(57, 20%, 56%)
HSVhsv(57, 27%, 65%)
CMYKcmyk(0%, 1.2%, 27.3%, 35.3%)
CIE-LABlab(66.17, -6.35, 22.67)
CIE-LCHlch(66.17, 23.54, 105.65°)
OKLaboklab(70.62% -0.0159 0.0571)
OKLCHoklch(70.62% 0.059 105.6)
XYZxyz(32.0045, 35.5503, 22.9416)
Luminance0.3555 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A378 #787AA5
analogous
#A58C78 #A5A378 #90A578
triadic
#A5A378 #78A5A3 #A378A5
tetradic
#A5A378 #78A58C #787AA5 #A57890
square
#A5A378 #78A58C #787AA5 #A57890
split-complementary
#A5A378 #7890A5 #8C78A5
monochromatic
#626041 #86845A #A5A378 #BDBC9D #D6D5C1

Accessibility & contrast

On white

2.59
#A5A378 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#A5A378 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A378
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A378#FFFFFF#000000##000000
##A5A3781.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AAA075
Deuteranopia (green-blind)
#ACA27A
Tritanopia (blue-blind)
#AC9D98
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a5a378;
/* rgb */ color: rgb(165, 163, 120);
/* oklch */ color: oklch(70.6% 0.059 105.6);
Tailwind
colors: {
  custom: {
    50: '#c0be9f',
    500: '#a5a378',
    950: '#000000',
  },
}
SCSS
$custom: #a5a378;
$custom-light: #c0be9f;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a378",
  "rgb": {
    "r": 165,
    "g": 163,
    "b": 120
  },
  "hsl": {
    "h": 57.333,
    "s": 20,
    "l": 55.882
  },
  "oklch": {
    "l": 0.70616,
    "c": 0.05923,
    "h": 105.6
  },
  "luminance": 0.3555
}

Semantic roles & 50–950 ramp

primary
#A5A378
secondary
#B3B4C6
accent
#6FBD6B
background
#FBFBF9
surface
#F7F6F2
border
#D0D0CC
text
#12120E
muted
#81817E

Preview Lab

Preview with #A5A378

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

Preview Lab → · Contrast checker → · Palette generator →

#A5A378 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva