#A5AF55#A5AF55

#A5AF55 is a light, moderate yellow. Relative luminance 0.393; OKLCH L 72.7% C 0.115 H 114.6°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#A5AF55
RGBrgb(165, 175, 85)
HSLhsl(67, 36%, 51%)
HSVhsv(67, 51%, 69%)
CMYKcmyk(5.7%, 0%, 51.4%, 31.4%)
CIE-LABlab(68.98, -16.70, 44.45)
CIE-LCHlch(68.98, 47.49, 110.59°)
OKLaboklab(72.68% -0.0479 0.1049)
OKLCHoklch(72.68% 0.115 114.6)
XYZxyz(32.4872, 39.3156, 14.4698)
Luminance0.3931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AF55 #5F55AF
analogous
#AF8C55 #A5AF55 #78AF55
triadic
#A5AF55 #55A5AF #AF55A5
tetradic
#A5AF55 #55AF8C #5F55AF #AF5578
square
#A5AF55 #55AF8C #5F55AF #AF5578
split-complementary
#A5AF55 #5578AF #8C55AF
monochromatic
#585E2C #7F8740 #A5AF55 #BBC37F #D1D6A8

Accessibility & contrast

On white

2.37
#A5AF55 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#A5AF55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5AF55
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5AF55#FFFFFF#000000##000000
##A5AF551.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA84D
Deuteranopia (green-blind)
#B9A95A
Tritanopia (blue-blind)
#AEA69B
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a5af55;
/* rgb */ color: rgb(165, 175, 85);
/* oklch */ color: oklch(72.7% 0.115 114.6);
Tailwind
colors: {
  custom: {
    50: '#c1c687',
    500: '#a5af55',
    950: '#000000',
  },
}
SCSS
$custom: #a5af55;
$custom-light: #c1c687;
$custom-dark: #000000;
JSON
{
  "hex": "#a5af55",
  "rgb": {
    "r": 165,
    "g": 175,
    "b": 85
  },
  "hsl": {
    "h": 66.667,
    "s": 36,
    "l": 50.98
  },
  "oklch": {
    "l": 0.72678,
    "c": 0.11537,
    "h": 114.6
  },
  "luminance": 0.39315
}

Semantic roles & 50–950 ramp

primary
#A5AF55
secondary
#A09CC4
accent
#5CCC68
background
#FCFCF8
surface
#F8F8F0
border
#D1D1CB
text
#13130B
muted
#82827C

Preview Lab

Preview with #A5AF55

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

Preview Lab → · Contrast checker → · Palette generator →

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