#ABA53A#ABA53A

#ABA53A is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.7% C 0.127 H 106.1°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#ABA53A
RGBrgb(171, 165, 58)
HSLhsl(57, 49%, 45%)
HSVhsv(57, 66%, 67%)
CMYKcmyk(0%, 3.5%, 66.1%, 32.9%)
CIE-LABlab(66.42, -11.05, 54.05)
CIE-LCHlch(66.42, 55.17, 101.55°)
OKLaboklab(70.68% -0.0352 0.1219)
OKLCHoklch(70.68% 0.127 106.1)
XYZxyz(31.0146, 35.8747, 9.2930)
Luminance0.3587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA53A #3A40AB
analogous
#AB6C3A #ABA53A #79AB3A
triadic
#ABA53A #3AABA5 #A53AAB
tetradic
#ABA53A #3AAB6C #3A40AB #AB3A79
square
#ABA53A #3AAB6C #3A40AB #AB3A79
split-complementary
#ABA53A #3A79AB #6C3AAB
monochromatic
#504D1B #7D792A #ABA53A #C7C25B #D7D389

Accessibility & contrast

On white

2.57
#ABA53A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#ABA53A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA53A
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA53A#FFFFFF#000000##000000
##ABA53A1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F2C
Deuteranopia (green-blind)
#B5A441
Tritanopia (blue-blind)
#B79A8F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #aba53a;
/* rgb */ color: rgb(171, 165, 58);
/* oklch */ color: oklch(70.7% 0.127 106.1);
Tailwind
colors: {
  custom: {
    50: '#c7bf76',
    500: '#aba53a',
    950: '#000000',
  },
}
SCSS
$custom: #aba53a;
$custom-light: #c7bf76;
$custom-dark: #000000;
JSON
{
  "hex": "#aba53a",
  "rgb": {
    "r": 171,
    "g": 165,
    "b": 58
  },
  "hsl": {
    "h": 56.814,
    "s": 49.345,
    "l": 44.902
  },
  "oklch": {
    "l": 0.70675,
    "c": 0.1269,
    "h": 106.1
  },
  "luminance": 0.35874
}

Semantic roles & 50–950 ramp

primary
#ABA53A
secondary
#8083C1
accent
#56D94F
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #ABA53A

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

Preview Lab → · Contrast checker → · Palette generator →

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