#A5AB52#A5AB52

#A5AB52 is a light, moderate yellow. Relative luminance 0.377; OKLCH L 71.7% C 0.113 H 112.4°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#A5AB52
RGBrgb(165, 171, 82)
HSLhsl(64, 35%, 50%)
HSVhsv(64, 52%, 67%)
CMYKcmyk(3.5%, 0%, 52%, 32.9%)
CIE-LABlab(67.82, -14.92, 44.55)
CIE-LCHlch(67.82, 46.98, 108.52°)
OKLaboklab(71.75% -0.0432 0.1049)
OKLCHoklch(71.75% 0.113 112.4)
XYZxyz(31.6036, 37.7349, 13.5997)
Luminance0.3773 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AB52 #5852AB
analogous
#AB8552 #A5AB52 #79AB52
triadic
#A5AB52 #52A5AB #AB52A5
tetradic
#A5AB52 #52AB85 #5852AB #AB5279
square
#A5AB52 #52AB85 #5852AB #AB5279
split-complementary
#A5AB52 #5279AB #8552AB
monochromatic
#55582A #7D823E #A5AB52 #BBC07B #D0D3A4

Accessibility & contrast

On white

2.46
#A5AB52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#A5AB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5AB52
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5AB52#FFFFFF#000000##000000
##A5AB521.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A44A
Deuteranopia (green-blind)
#B6A657
Tritanopia (blue-blind)
#AFA297
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a5ab52;
/* rgb */ color: rgb(165, 171, 82);
/* oklch */ color: oklch(71.7% 0.113 112.4);
Tailwind
colors: {
  custom: {
    50: '#c1c385',
    500: '#a5ab52',
    950: '#000000',
  },
}
SCSS
$custom: #a5ab52;
$custom-light: #c1c385;
$custom-dark: #000000;
JSON
{
  "hex": "#a5ab52",
  "rgb": {
    "r": 165,
    "g": 171,
    "b": 82
  },
  "hsl": {
    "h": 64.045,
    "s": 35.178,
    "l": 49.608
  },
  "oklch": {
    "l": 0.71745,
    "c": 0.11341,
    "h": 112.4
  },
  "luminance": 0.37734
}

Semantic roles & 50–950 ramp

primary
#A5AB52
secondary
#9B98C1
accent
#5DCB64
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #A5AB52

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

Preview Lab → · Contrast checker → · Palette generator →

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