#A5A458#A5A458

#A5A458 is a light, moderate yellow. Relative luminance 0.353; OKLCH L 70.3% C 0.099 H 108.0°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#A5A458
RGBrgb(165, 164, 88)
HSLhsl(59, 30%, 50%)
HSVhsv(59, 47%, 65%)
CMYKcmyk(0%, 0.6%, 46.7%, 35.3%)
CIE-LABlab(65.95, -10.70, 39.33)
CIE-LCHlch(65.95, 40.76, 105.22°)
OKLaboklab(70.27% -0.0306 0.094)
OKLCHoklch(70.27% 0.099 108)
XYZxyz(30.5546, 35.2556, 14.4261)
Luminance0.3525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A458 #5859A5
analogous
#A57E58 #A5A458 #80A558
triadic
#A5A458 #58A5A4 #A458A5
tetradic
#A5A458 #58A57E #5859A5 #A55880
square
#A5A458 #58A57E #5859A5 #A55880
split-complementary
#A5A458 #5880A5 #7E58A5
monochromatic
#55552D #7D7C43 #A5A458 #BBBA7F #D0D0A7

Accessibility & contrast

On white

2.61
#A5A458 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#A5A458 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A458
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A458#FFFFFF#000000##000000
##A5A4581.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9F52
Deuteranopia (green-blind)
#B0A25C
Tritanopia (blue-blind)
#AF9C92
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a5a458;
/* rgb */ color: rgb(165, 164, 88);
/* oklch */ color: oklch(70.3% 0.099 108.0);
Tailwind
colors: {
  custom: {
    50: '#c1be89',
    500: '#a5a458',
    950: '#000000',
  },
}
SCSS
$custom: #a5a458;
$custom-light: #c1be89;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a458",
  "rgb": {
    "r": 165,
    "g": 164,
    "b": 88
  },
  "hsl": {
    "h": 59.221,
    "s": 30.435,
    "l": 49.608
  },
  "oklch": {
    "l": 0.70271,
    "c": 0.0988,
    "h": 108
  },
  "luminance": 0.35255
}

Semantic roles & 50–950 ramp

primary
#A5A458
secondary
#9B9BBE
accent
#62C761
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#12120B
muted
#81817C

Preview Lab

Preview with #A5A458

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

Preview Lab → · Contrast checker → · Palette generator →

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