#A5A55A#A5A55A

#A5A55A is a light, moderate yellow. Relative luminance 0.356; OKLCH L 70.5% C 0.098 H 108.7°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#A5A55A
RGBrgb(165, 165, 90)
HSLhsl(60, 29%, 50%)
HSVhsv(60, 45%, 65%)
CMYKcmyk(0%, 0%, 45.5%, 35.3%)
CIE-LABlab(66.25, -11.03, 38.68)
CIE-LCHlch(66.25, 40.22, 105.91°)
OKLaboklab(70.52% -0.0313 0.0927)
OKLCHoklch(70.52% 0.098 108.7)
XYZxyz(30.8182, 35.6485, 14.9283)
Luminance0.3565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A55A #5A5AA5
analogous
#A5805A #A5A55A #80A55A
triadic
#A5A55A #5AA5A5 #A55AA5
tetradic
#A5A55A #5AA580 #5A5AA5 #A55A80
square
#A5A55A #5AA580 #5A5AA5 #A55A80
split-complementary
#A5A55A #5A7FA5 #7F5AA5
monochromatic
#56562F #7D7D44 #A5A55A #BBBB82 #D0D0A9

Accessibility & contrast

On white

2.58
#A5A55A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#A5A55A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A55A
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A55A#FFFFFF#000000##000000
##A5A55A1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09F54
Deuteranopia (green-blind)
#B1A25E
Tritanopia (blue-blind)
#AE9D93
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a5a55a;
/* rgb */ color: rgb(165, 165, 90);
/* oklch */ color: oklch(70.5% 0.098 108.7);
Tailwind
colors: {
  custom: {
    50: '#c1bf8a',
    500: '#a5a55a',
    950: '#000000',
  },
}
SCSS
$custom: #a5a55a;
$custom-light: #c1bf8a;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a55a",
  "rgb": {
    "r": 165,
    "g": 165,
    "b": 90
  },
  "hsl": {
    "h": 60,
    "s": 29.412,
    "l": 50
  },
  "oklch": {
    "l": 0.70521,
    "c": 0.09782,
    "h": 108.7
  },
  "luminance": 0.35648
}

Semantic roles & 50–950 ramp

primary
#A5A55A
secondary
#9D9DBE
accent
#62C662
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#12120C
muted
#81817D

Preview Lab

Preview with #A5A55A

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

Preview Lab → · Contrast checker → · Palette generator →

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