#A5A56F#A5A56F

#A5A56F is a light, moderate yellow. Relative luminance 0.361; OKLCH L 70.9% C 0.073 H 108.1°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#A5A56F
RGBrgb(165, 165, 111)
HSLhsl(60, 23%, 54%)
HSVhsv(60, 33%, 65%)
CMYKcmyk(0%, 0%, 32.7%, 35.3%)
CIE-LABlab(66.56, -8.62, 28.06)
CIE-LCHlch(66.56, 29.36, 107.07°)
OKLaboklab(70.87% -0.0228 0.0696)
OKLCHoklch(70.87% 0.073 108.1)
XYZxyz(31.8417, 36.0578, 20.3183)
Luminance0.3606 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A56F #6F6FA5
analogous
#A58A6F #A5A56F #8AA56F
triadic
#A5A56F #6FA5A5 #A56FA5
tetradic
#A5A56F #6FA58A #6F6FA5 #A56F8A
square
#A5A56F #6FA58A #6F6FA5 #A56F8A
split-complementary
#A5A56F #6F8AA5 #8A6FA5
monochromatic
#5F5F3B #848453 #A5A56F #BDBD95 #D4D4BA

Accessibility & contrast

On white

2.56
#A5A56F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#A5A56F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A56F
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A56F#FFFFFF#000000##000000
##A5A56F1.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA16B
Deuteranopia (green-blind)
#AEA371
Tritanopia (blue-blind)
#AC9E97
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a5a56f;
/* rgb */ color: rgb(165, 165, 111);
/* oklch */ color: oklch(70.9% 0.073 108.1);
Tailwind
colors: {
  custom: {
    50: '#c0bf99',
    500: '#a5a56f',
    950: '#000000',
  },
}
SCSS
$custom: #a5a56f;
$custom-light: #c0bf99;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a56f",
  "rgb": {
    "r": 165,
    "g": 165,
    "b": 111
  },
  "hsl": {
    "h": 60,
    "s": 23.077,
    "l": 54.118
  },
  "oklch": {
    "l": 0.70873,
    "c": 0.07321,
    "h": 108.1
  },
  "luminance": 0.36057
}

Semantic roles & 50–950 ramp

primary
#A5A56F
secondary
#ACACC3
accent
#68C068
background
#FBFBF9
surface
#F7F7F2
border
#D0D0CC
text
#12120E
muted
#81817E

Preview Lab

Preview with #A5A56F

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

Preview Lab → · Contrast checker → · Palette generator →

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