#ABA55C#ABA55C

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

Color values

HEX#ABA55C
RGBrgb(171, 165, 92)
HSLhsl(55, 32%, 52%)
HSVhsv(55, 46%, 67%)
CMYKcmyk(0%, 3.5%, 46.2%, 32.9%)
CIE-LABlab(66.78, -8.32, 38.42)
CIE-LCHlch(66.78, 39.31, 102.21°)
OKLaboklab(71.07% -0.0237 0.0922)
OKLCHoklch(71.07% 0.095 104.4)
XYZxyz(32.1822, 36.3418, 15.4425)
Luminance0.3634 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA55C #5C62AB
analogous
#AB7E5C #ABA55C #8AAB5C
triadic
#ABA55C #5CABA5 #A55CAB
tetradic
#ABA55C #5CAB7E #5C62AB #AB5C8A
square
#ABA55C #5CAB7E #5C62AB #AB5C8A
split-complementary
#ABA55C #5C8AAB #7E5CAB
monochromatic
#5D5930 #858045 #ABA55C #C0BB84 #D5D2AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABA55C#FFFFFF#000000##000000
##ABA55C1.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)
#B0A056
Deuteranopia (green-blind)
#B3A45F
Tritanopia (blue-blind)
#B59C94
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #aba55c;
/* rgb */ color: rgb(171, 165, 92);
/* oklch */ color: oklch(71.1% 0.095 104.4);
Tailwind
colors: {
  custom: {
    50: '#c5bf8b',
    500: '#aba55c',
    950: '#000000',
  },
}
SCSS
$custom: #aba55c;
$custom-light: #c5bf8b;
$custom-dark: #000000;
JSON
{
  "hex": "#aba55c",
  "rgb": {
    "r": 171,
    "g": 165,
    "b": 92
  },
  "hsl": {
    "h": 55.443,
    "s": 31.984,
    "l": 51.569
  },
  "oklch": {
    "l": 0.71073,
    "c": 0.09516,
    "h": 104.4
  },
  "luminance": 0.36341
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ABA55C

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

Preview Lab → · Contrast checker → · Palette generator →

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