#ABA828#ABA828

#ABA828 is a light, vivid yellow. Relative luminance 0.368; OKLCH L 71.2% C 0.141 H 108.1°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#ABA828
RGBrgb(171, 168, 40)
HSLhsl(59, 62%, 41%)
HSVhsv(59, 77%, 67%)
CMYKcmyk(0%, 1.8%, 76.6%, 32.9%)
CIE-LABlab(67.14, -13.52, 61.47)
CIE-LCHlch(67.14, 62.93, 102.40°)
OKLaboklab(71.21% -0.044 0.1344)
OKLCHoklch(71.21% 0.141 108.1)
XYZxyz(31.1814, 36.8174, 7.4710)
Luminance0.3682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA828 #282BAB
analogous
#AB6728 #ABA828 #6DAB28
triadic
#ABA828 #28ABA8 #A828AB
tetradic
#ABA828 #28AB67 #282BAB #AB286D
square
#ABA828 #28AB67 #282BAB #AB286D
split-complementary
#ABA828 #286DAB #6728AB
monochromatic
#484711 #79771C #ABA828 #D2CF3E #DEDB70

Accessibility & contrast

On white

2.51
#ABA828 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#ABA828 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA828
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA828#FFFFFF#000000##000000
##ABA8281.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A106
Deuteranopia (green-blind)
#B8A533
Tritanopia (blue-blind)
#B89D90
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #aba828;
/* rgb */ color: rgb(171, 168, 40);
/* oklch */ color: oklch(71.2% 0.141 108.1);
Tailwind
colors: {
  custom: {
    50: '#c8c16d',
    500: '#aba828',
    950: '#000000',
  },
}
SCSS
$custom: #aba828;
$custom-light: #c8c16d;
$custom-dark: #000000;
JSON
{
  "hex": "#aba828",
  "rgb": {
    "r": 171,
    "g": 168,
    "b": 40
  },
  "hsl": {
    "h": 58.626,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.71209,
    "c": 0.14139,
    "h": 108.1
  },
  "luminance": 0.36816
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ABA828

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

Preview Lab → · Contrast checker → · Palette generator →

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