#A5A855#A5A855

#A5A855 is a light, moderate yellow. Relative luminance 0.367; OKLCH L 71.1% C 0.107 H 110.7°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#A5A855
RGBrgb(165, 168, 85)
HSLhsl(62, 33%, 50%)
HSVhsv(62, 49%, 66%)
CMYKcmyk(1.8%, 0%, 49.4%, 34.1%)
CIE-LABlab(67.02, -13.09, 42.13)
CIE-LCHlch(67.02, 44.12, 107.26°)
OKLaboklab(71.11% -0.0377 0.0999)
OKLCHoklch(71.11% 0.107 110.7)
XYZxyz(31.1600, 36.6611, 14.0274)
Luminance0.3666 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A855 #5855A8
analogous
#A88255 #A5A855 #7BA855
triadic
#A5A855 #55A5A8 #A855A5
tetradic
#A5A855 #55A882 #5855A8 #A8557B
square
#A5A855 #55A882 #5855A8 #A8557B
split-complementary
#A5A855 #557BA8 #8255A8
monochromatic
#55572C #7D7F40 #A5A855 #BBBD7D #D0D2A6

Accessibility & contrast

On white

2.52
#A5A855 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#A5A855 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A855
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A855#FFFFFF#000000##000000
##A5A8551.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A24E
Deuteranopia (green-blind)
#B4A459
Tritanopia (blue-blind)
#AF9F95
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a5a855;
/* rgb */ color: rgb(165, 168, 85);
/* oklch */ color: oklch(71.1% 0.107 110.7);
Tailwind
colors: {
  custom: {
    50: '#c1c187',
    500: '#a5a855',
    950: '#000000',
  },
}
SCSS
$custom: #a5a855;
$custom-light: #c1c187;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a855",
  "rgb": {
    "r": 165,
    "g": 168,
    "b": 85
  },
  "hsl": {
    "h": 62.169,
    "s": 32.806,
    "l": 49.608
  },
  "oklch": {
    "l": 0.71115,
    "c": 0.10674,
    "h": 110.7
  },
  "luminance": 0.3666
}

Semantic roles & 50–950 ramp

primary
#A5A855
secondary
#9B99BF
accent
#5FC963
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120B
muted
#82817C

Preview Lab

Preview with #A5A855

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

Preview Lab → · Contrast checker → · Palette generator →

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