#ABA04D#ABA04D

#ABA04D is a light, moderate yellow. Relative luminance 0.343; OKLCH L 69.8% C 0.105 H 101.8°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#ABA04D
RGBrgb(171, 160, 77)
HSLhsl(53, 38%, 49%)
HSVhsv(53, 55%, 67%)
CMYKcmyk(0%, 6.4%, 55%, 32.9%)
CIE-LABlab(65.23, -7.04, 44.08)
CIE-LCHlch(65.23, 44.64, 99.08°)
OKLaboklab(69.78% -0.0216 0.1032)
OKLCHoklch(69.78% 0.105 101.8)
XYZxyz(30.7059, 34.3365, 12.0299)
Luminance0.3433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA04D #4D58AB
analogous
#AB714D #ABA04D #87AB4D
triadic
#ABA04D #4DABA0 #A04DAB
tetradic
#ABA04D #4DAB71 #4D58AB #AB4D87
square
#ABA04D #4DAB71 #4D58AB #AB4D87
split-complementary
#ABA04D #4D87AB #714DAB
monochromatic
#575127 #81793A #ABA04D #C1B875 #D4CD9F

Accessibility & contrast

On white

2.67
#ABA04D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#ABA04D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA04D
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA04D#FFFFFF#000000##000000
##ABA04D1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9C45
Deuteranopia (green-blind)
#B0A151
Tritanopia (blue-blind)
#B7968D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #aba04d;
/* rgb */ color: rgb(171, 160, 77);
/* oklch */ color: oklch(69.8% 0.105 101.8);
Tailwind
colors: {
  custom: {
    50: '#c6bb81',
    500: '#aba04d',
    950: '#000000',
  },
}
SCSS
$custom: #aba04d;
$custom-light: #c6bb81;
$custom-dark: #000000;
JSON
{
  "hex": "#aba04d",
  "rgb": {
    "r": 171,
    "g": 160,
    "b": 77
  },
  "hsl": {
    "h": 52.979,
    "s": 37.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.69782,
    "c": 0.10547,
    "h": 101.8
  },
  "luminance": 0.34335
}

Semantic roles & 50–950 ramp

primary
#ABA04D
secondary
#9399C0
accent
#68CE5A
background
#FCFBF8
surface
#F8F6EF
border
#D1D0CA
text
#13110A
muted
#82807C

Preview Lab

Preview with #ABA04D

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

Preview Lab → · Contrast checker → · Palette generator →

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