#A5A754#A5A754

#A5A754 is a light, moderate yellow. Relative luminance 0.363; OKLCH L 70.9% C 0.107 H 110.1°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#A5A754
RGBrgb(165, 167, 84)
HSLhsl(61, 33%, 49%)
HSVhsv(61, 50%, 65%)
CMYKcmyk(1.2%, 0%, 49.7%, 34.5%)
CIE-LABlab(66.73, -12.66, 42.28)
CIE-LCHlch(66.73, 44.13, 106.67°)
OKLaboklab(70.88% -0.0366 0.1001)
OKLCHoklch(70.88% 0.107 110.1)
XYZxyz(30.9366, 36.2775, 13.7584)
Luminance0.3628 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A754 #5654A7
analogous
#A78054 #A5A754 #7CA754
triadic
#A5A754 #54A5A7 #A754A5
tetradic
#A5A754 #54A780 #5654A7 #A7547C
square
#A5A754 #54A780 #5654A7 #A7547C
split-complementary
#A5A754 #547CA7 #8054A7
monochromatic
#55562B #7D7E40 #A5A754 #BBBD7B #D0D1A4

Accessibility & contrast

On white

2.54
#A5A754 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#A5A754 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A754
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A754#FFFFFF#000000##000000
##A5A7541.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A14C
Deuteranopia (green-blind)
#B3A458
Tritanopia (blue-blind)
#AF9E94
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a5a754;
/* rgb */ color: rgb(165, 167, 84);
/* oklch */ color: oklch(70.9% 0.107 110.1);
Tailwind
colors: {
  custom: {
    50: '#c1c186',
    500: '#a5a754',
    950: '#000000',
  },
}
SCSS
$custom: #a5a754;
$custom-light: #c1c186;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a754",
  "rgb": {
    "r": 165,
    "g": 167,
    "b": 84
  },
  "hsl": {
    "h": 61.446,
    "s": 33.068,
    "l": 49.216
  },
  "oklch": {
    "l": 0.7088,
    "c": 0.10657,
    "h": 110.1
  },
  "luminance": 0.36277
}

Semantic roles & 50–950 ramp

primary
#A5A754
secondary
#9998BF
accent
#5FC961
background
#FCFBF8
surface
#F8F7EF
border
#D1D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #A5A754

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

Preview Lab → · Contrast checker → · Palette generator →

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