#ABA55D#ABA55D

#ABA55D is a light, moderate yellow. Relative luminance 0.364; OKLCH L 71.1% C 0.094 H 104.3°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#ABA55D
RGBrgb(171, 165, 93)
HSLhsl(55, 32%, 52%)
HSVhsv(55, 46%, 67%)
CMYKcmyk(0%, 3.5%, 45.6%, 32.9%)
CIE-LABlab(66.79, -8.22, 37.93)
CIE-LCHlch(66.79, 38.81, 102.22°)
OKLaboklab(71.09% -0.0233 0.0911)
OKLCHoklch(71.09% 0.094 104.3)
XYZxyz(32.2262, 36.3594, 15.6743)
Luminance0.3636 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA55D #5D63AB
analogous
#AB7E5D #ABA55D #8AAB5D
triadic
#ABA55D #5DABA5 #A55DAB
tetradic
#ABA55D #5DAB7E #5D63AB #AB5D8A
square
#ABA55D #5DAB7E #5D63AB #AB5D8A
split-complementary
#ABA55D #5D8AAB #7E5DAB
monochromatic
#5D5A30 #868145 #ABA55D #C0BB85 #D5D2AE

Accessibility & contrast

On white

2.54
#ABA55D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#ABA55D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA55D
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA55D#FFFFFF#000000##000000
##ABA55D1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A057
Deuteranopia (green-blind)
#B3A460
Tritanopia (blue-blind)
#B59C94
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #aba55d;
/* rgb */ color: rgb(171, 165, 93);
/* oklch */ color: oklch(71.1% 0.094 104.3);
Tailwind
colors: {
  custom: {
    50: '#c5bf8c',
    500: '#aba55d',
    950: '#000000',
  },
}
SCSS
$custom: #aba55d;
$custom-light: #c5bf8c;
$custom-dark: #000000;
JSON
{
  "hex": "#aba55d",
  "rgb": {
    "r": 171,
    "g": 165,
    "b": 93
  },
  "hsl": {
    "h": 55.385,
    "s": 31.707,
    "l": 51.765
  },
  "oklch": {
    "l": 0.71088,
    "c": 0.09407,
    "h": 104.3
  },
  "luminance": 0.36359
}

Semantic roles & 50–950 ramp

primary
#ABA55D
secondary
#A1A3C3
accent
#68C860
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #ABA55D

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

Preview Lab → · Contrast checker → · Palette generator →

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