#ABA84D#ABA84D

#ABA84D is a light, moderate yellow. Relative luminance 0.372; OKLCH L 71.5% C 0.114 H 107.2°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#ABA84D
RGBrgb(171, 168, 77)
HSLhsl(58, 38%, 49%)
HSVhsv(58, 55%, 67%)
CMYKcmyk(0%, 1.8%, 55%, 32.9%)
CIE-LABlab(67.43, -11.26, 46.62)
CIE-LCHlch(67.43, 47.96, 103.58°)
OKLaboklab(71.53% -0.0337 0.1087)
OKLCHoklch(71.53% 0.114 107.2)
XYZxyz(32.1377, 37.1999, 12.5071)
Luminance0.3720 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA84D #4D50AB
analogous
#AB794D #ABA84D #7FAB4D
triadic
#ABA84D #4DABA8 #A84DAB
tetradic
#ABA84D #4DAB79 #4D50AB #AB4D7F
square
#ABA84D #4DAB79 #4D50AB #AB4D7F
split-complementary
#ABA84D #4D7FAB #794DAB
monochromatic
#575527 #817F3A #ABA84D #C1BE75 #D4D29F

Accessibility & contrast

On white

2.49
#ABA84D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#ABA84D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA84D
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA84D#FFFFFF#000000##000000
##ABA84D1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A244
Deuteranopia (green-blind)
#B6A652
Tritanopia (blue-blind)
#B69E94
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #aba84d;
/* rgb */ color: rgb(171, 168, 77);
/* oklch */ color: oklch(71.5% 0.114 107.2);
Tailwind
colors: {
  custom: {
    50: '#c6c182',
    500: '#aba84d',
    950: '#000000',
  },
}
SCSS
$custom: #aba84d;
$custom-light: #c6c182;
$custom-dark: #000000;
JSON
{
  "hex": "#aba84d",
  "rgb": {
    "r": 171,
    "g": 168,
    "b": 77
  },
  "hsl": {
    "h": 58.085,
    "s": 37.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.71529,
    "c": 0.1138,
    "h": 107.2
  },
  "luminance": 0.37199
}

Semantic roles & 50–950 ramp

primary
#ABA84D
secondary
#9395C0
accent
#5ECE5A
background
#FCFBF8
surface
#F8F7EF
border
#D1D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #ABA84D

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

Preview Lab → · Contrast checker → · Palette generator →

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