#ABA928#ABA928

#ABA928 is a light, vivid yellow. Relative luminance 0.372; OKLCH L 71.4% C 0.142 H 108.6°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#ABA928
RGBrgb(171, 169, 40)
HSLhsl(59, 62%, 41%)
HSVhsv(59, 77%, 67%)
CMYKcmyk(0%, 1.2%, 76.6%, 32.9%)
CIE-LABlab(67.42, -14.03, 61.72)
CIE-LCHlch(67.42, 63.30, 102.81°)
OKLaboklab(71.43% -0.0454 0.1349)
OKLCHoklch(71.43% 0.142 108.6)
XYZxyz(31.3668, 37.1881, 7.5328)
Luminance0.3719 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA928 #282AAB
analogous
#AB6828 #ABA928 #6CAB28
triadic
#ABA928 #28ABA9 #A928AB
tetradic
#ABA928 #28AB68 #282AAB #AB286C
square
#ABA928 #28AB68 #282AAB #AB286C
split-complementary
#ABA928 #286CAB #6828AB
monochromatic
#484711 #79781C #ABA928 #D2D03E #DEDC70

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABA928#FFFFFF#000000##000000
##ABA9281.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)
#B7A205
Deuteranopia (green-blind)
#B9A633
Tritanopia (blue-blind)
#B89E91
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #aba928;
/* rgb */ color: rgb(171, 169, 40);
/* oklch */ color: oklch(71.4% 0.142 108.6);
Tailwind
colors: {
  custom: {
    50: '#c8c26d',
    500: '#aba928',
    950: '#000000',
  },
}
SCSS
$custom: #aba928;
$custom-light: #c8c26d;
$custom-dark: #000000;
JSON
{
  "hex": "#aba928",
  "rgb": {
    "r": 171,
    "g": 169,
    "b": 40
  },
  "hsl": {
    "h": 59.084,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.71431,
    "c": 0.14235,
    "h": 108.6
  },
  "luminance": 0.37187
}

Semantic roles & 50–950 ramp

primary
#ABA928
secondary
#6A6CC4
accent
#45E543
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#141208
muted
#82817B

Preview Lab

Preview with #ABA928

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

Preview Lab → · Contrast checker → · Palette generator →

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