#ABA84F#ABA84F

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

Color values

HEX#ABA84F
RGBrgb(171, 168, 79)
HSLhsl(58, 37%, 49%)
HSVhsv(58, 54%, 67%)
CMYKcmyk(0%, 1.8%, 53.8%, 32.9%)
CIE-LABlab(67.45, -11.10, 45.69)
CIE-LCHlch(67.45, 47.01, 103.65°)
OKLaboklab(71.55% -0.033 0.1069)
OKLCHoklch(71.55% 0.112 107.2)
XYZxyz(32.2094, 37.2286, 12.8848)
Luminance0.3723 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA84F #4F52AB
analogous
#AB7A4F #ABA84F #80AB4F
triadic
#ABA84F #4FABA8 #A84FAB
tetradic
#ABA84F #4FAB7A #4F52AB #AB4F80
square
#ABA84F #4FAB7A #4F52AB #AB4F80
split-complementary
#ABA84F #4F80AB #7A4FAB
monochromatic
#575628 #817F3C #ABA84F #C0BE77 #D4D2A1

Accessibility & contrast

On white

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

On black

8.45
#ABA84F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA84F
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA84F#FFFFFF#000000##000000
##ABA84F1.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aba84f;
/* rgb */ color: rgb(171, 168, 79);
/* oklch */ color: oklch(71.6% 0.112 107.2);
Tailwind
colors: {
  custom: {
    50: '#c6c183',
    500: '#aba84f',
    950: '#000000',
  },
}
SCSS
$custom: #aba84f;
$custom-light: #c6c183;
$custom-dark: #000000;
JSON
{
  "hex": "#aba84f",
  "rgb": {
    "r": 171,
    "g": 168,
    "b": 79
  },
  "hsl": {
    "h": 58.043,
    "s": 36.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.71553,
    "c": 0.11189,
    "h": 107.2
  },
  "luminance": 0.37228
}

Semantic roles & 50–950 ramp

primary
#ABA84F
secondary
#9597C1
accent
#5FCD5B
background
#FCFBF8
surface
#F8F7EF
border
#D1D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #ABA84F

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

Preview Lab → · Contrast checker → · Palette generator →

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