#A5A256#A5A256

#A5A256 is a light, moderate yellow. Relative luminance 0.345; OKLCH L 69.8% C 0.099 H 106.7°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#A5A256
RGBrgb(165, 162, 86)
HSLhsl(58, 31%, 49%)
HSVhsv(58, 48%, 65%)
CMYKcmyk(0%, 1.8%, 47.9%, 35.3%)
CIE-LABlab(65.37, -9.84, 39.64)
CIE-LCHlch(65.37, 40.84, 103.95°)
OKLaboklab(69.8% -0.0283 0.0945)
OKLCHoklch(69.8% 0.099 106.7)
XYZxyz(30.1178, 34.5127, 13.8774)
Luminance0.3451 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A256 #5659A5
analogous
#A57B56 #A5A256 #81A556
triadic
#A5A256 #56A5A2 #A256A5
tetradic
#A5A256 #56A57B #5659A5 #A55681
square
#A5A256 #56A57B #5659A5 #A55681
split-complementary
#A5A256 #5681A5 #7B56A5
monochromatic
#55532C #7D7B41 #A5A256 #BBB97D #D0CFA5

Accessibility & contrast

On white

2.66
#A5A256 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#A5A256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A256
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A256#FFFFFF#000000##000000
##A5A2561.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9D4F
Deuteranopia (green-blind)
#AFA05A
Tritanopia (blue-blind)
#AF9990
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a5a256;
/* rgb */ color: rgb(165, 162, 86);
/* oklch */ color: oklch(69.8% 0.099 106.7);
Tailwind
colors: {
  custom: {
    50: '#c1bd87',
    500: '#a5a256',
    950: '#000000',
  },
}
SCSS
$custom: #a5a256;
$custom-light: #c1bd87;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a256",
  "rgb": {
    "r": 165,
    "g": 162,
    "b": 86
  },
  "hsl": {
    "h": 57.722,
    "s": 31.474,
    "l": 49.216
  },
  "oklch": {
    "l": 0.69802,
    "c": 0.09863,
    "h": 106.7
  },
  "luminance": 0.34512
}

Semantic roles & 50–950 ramp

primary
#A5A256
secondary
#999ABE
accent
#64C860
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#12120B
muted
#81817C

Preview Lab

Preview with #A5A256

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

Preview Lab → · Contrast checker → · Palette generator →

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