#ABA84B#ABA84B

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

Color values

HEX#ABA84B
RGBrgb(171, 168, 75)
HSLhsl(58, 39%, 48%)
HSVhsv(58, 56%, 67%)
CMYKcmyk(0%, 1.8%, 56.1%, 32.9%)
CIE-LABlab(67.41, -11.43, 47.54)
CIE-LCHlch(67.41, 48.89, 103.51°)
OKLaboklab(71.51% -0.0344 0.1105)
OKLCHoklch(71.51% 0.116 107.3)
XYZxyz(32.0681, 37.1721, 12.1409)
Luminance0.3717 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA84B #4B4EAB
analogous
#AB784B #ABA84B #7EAB4B
triadic
#ABA84B #4BABA8 #A84BAB
tetradic
#ABA84B #4BAB78 #4B4EAB #AB4B7E
square
#ABA84B #4BAB78 #4B4EAB #AB4B7E
split-complementary
#ABA84B #4B7EAB #784BAB
monochromatic
#565426 #807E38 #ABA84B #C1BF72 #D4D29D

Accessibility & contrast

On white

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

On black

8.43
#ABA84B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA84B
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA84B#FFFFFF#000000##000000
##ABA84B1.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aba84b;
/* rgb */ color: rgb(171, 168, 75);
/* oklch */ color: oklch(71.5% 0.116 107.3);
Tailwind
colors: {
  custom: {
    50: '#c6c180',
    500: '#aba84b',
    950: '#000000',
  },
}
SCSS
$custom: #aba84b;
$custom-light: #c6c180;
$custom-dark: #000000;
JSON
{
  "hex": "#aba84b",
  "rgb": {
    "r": 171,
    "g": 168,
    "b": 75
  },
  "hsl": {
    "h": 58.125,
    "s": 39.024,
    "l": 48.235
  },
  "oklch": {
    "l": 0.71506,
    "c": 0.11568,
    "h": 107.3
  },
  "luminance": 0.37171
}

Semantic roles & 50–950 ramp

primary
#ABA84B
secondary
#9193C0
accent
#5DCF59
background
#FCFBF8
surface
#F8F7EF
border
#D1D0CA
text
#13120A
muted
#82817C

Preview Lab

Preview with #ABA84B

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

Preview Lab → · Contrast checker → · Palette generator →

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