#A5A462#A5A462

#A5A462 is a light, moderate yellow. Relative luminance 0.354; OKLCH L 70.4% C 0.088 H 107.7°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#A5A462
RGBrgb(165, 164, 98)
HSLhsl(59, 27%, 52%)
HSVhsv(59, 41%, 65%)
CMYKcmyk(0%, 0.6%, 40.6%, 35.3%)
CIE-LABlab(66.08, -9.65, 34.34)
CIE-LCHlch(66.08, 35.67, 105.69°)
OKLaboklab(70.43% -0.0266 0.0835)
OKLCHoklch(70.43% 0.088 107.7)
XYZxyz(30.9976, 35.4328, 16.7592)
Luminance0.3543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A462 #6263A5
analogous
#A58362 #A5A462 #85A562
triadic
#A5A462 #62A5A4 #A462A5
tetradic
#A5A462 #62A583 #6263A5 #A56285
square
#A5A462 #62A583 #6263A5 #A56285
split-complementary
#A5A462 #6285A5 #8362A5
monochromatic
#595933 #807F4A #A5A462 #BBBB89 #D2D1B0

Accessibility & contrast

On white

2.60
#A5A462 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#A5A462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A462
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A462#FFFFFF#000000##000000
##A5A4621.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9F5D
Deuteranopia (green-blind)
#AFA265
Tritanopia (blue-blind)
#AE9C94
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a5a462;
/* rgb */ color: rgb(165, 164, 98);
/* oklch */ color: oklch(70.4% 0.088 107.7);
Tailwind
colors: {
  custom: {
    50: '#c1be90',
    500: '#a5a462',
    950: '#000000',
  },
}
SCSS
$custom: #a5a462;
$custom-light: #c1be90;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a462",
  "rgb": {
    "r": 165,
    "g": 164,
    "b": 98
  },
  "hsl": {
    "h": 59.104,
    "s": 27.126,
    "l": 51.569
  },
  "oklch": {
    "l": 0.70425,
    "c": 0.08761,
    "h": 107.7
  },
  "luminance": 0.35432
}

Semantic roles & 50–950 ramp

primary
#A5A462
secondary
#A3A3C0
accent
#66C364
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#12120C
muted
#81817D

Preview Lab

Preview with #A5A462

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

Preview Lab → · Contrast checker → · Palette generator →

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