#A5A451#A5A451

#A5A451 is a light, moderate yellow. Relative luminance 0.351; OKLCH L 70.2% C 0.106 H 108.2°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#A5A451
RGBrgb(165, 164, 81)
HSLhsl(59, 34%, 48%)
HSVhsv(59, 51%, 65%)
CMYKcmyk(0%, 0.6%, 50.9%, 35.3%)
CIE-LABlab(65.86, -11.37, 42.73)
CIE-LCHlch(65.86, 44.22, 104.90°)
OKLaboklab(70.18% -0.0332 0.1008)
OKLCHoklch(70.18% 0.106 108.2)
XYZxyz(30.2784, 35.1451, 12.9717)
Luminance0.3514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A451 #5152A5
analogous
#A57A51 #A5A451 #7CA551
triadic
#A5A451 #51A5A4 #A451A5
tetradic
#A5A451 #51A57A #5152A5 #A5517C
square
#A5A451 #51A57A #5152A5 #A5517C
split-complementary
#A5A451 #517CA5 #7A51A5
monochromatic
#535229 #7C7B3D #A5A451 #BCBB77 #D0D0A0

Accessibility & contrast

On white

2.62
#A5A451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#A5A451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A451
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A451#FFFFFF#000000##000000
##A5A4511.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9E49
Deuteranopia (green-blind)
#B1A255
Tritanopia (blue-blind)
#AF9B91
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a5a451;
/* rgb */ color: rgb(165, 164, 81);
/* oklch */ color: oklch(70.2% 0.106 108.2);
Tailwind
colors: {
  custom: {
    50: '#c1be84',
    500: '#a5a451',
    950: '#000000',
  },
}
SCSS
$custom: #a5a451;
$custom-light: #c1be84;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a451",
  "rgb": {
    "r": 165,
    "g": 164,
    "b": 81
  },
  "hsl": {
    "h": 59.286,
    "s": 34.146,
    "l": 48.235
  },
  "oklch": {
    "l": 0.70175,
    "c": 0.10614,
    "h": 108.2
  },
  "luminance": 0.35144
}

Semantic roles & 50–950 ramp

primary
#A5A451
secondary
#9495BD
accent
#5FCA5E
background
#FCFBF8
surface
#F8F6EF
border
#D1D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #A5A451

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

Preview Lab → · Contrast checker → · Palette generator →

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