#ABAA28#ABAA28

#ABAA28 is a light, vivid yellow. Relative luminance 0.376; OKLCH L 71.7% C 0.143 H 109.1°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#ABAA28
RGBrgb(171, 170, 40)
HSLhsl(60, 62%, 41%)
HSVhsv(60, 77%, 67%)
CMYKcmyk(0%, 0.6%, 76.6%, 32.9%)
CIE-LABlab(67.70, -14.55, 61.97)
CIE-LCHlch(67.70, 63.66, 103.21°)
OKLaboklab(71.65% -0.0468 0.1355)
OKLCHoklch(71.65% 0.143 109.1)
XYZxyz(31.5535, 37.5616, 7.5951)
Luminance0.3756 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAA28 #2829AB
analogous
#AB6928 #ABAA28 #6BAB28
triadic
#ABAA28 #28ABAA #AA28AB
tetradic
#ABAA28 #28AB69 #2829AB #AB286B
square
#ABAA28 #28AB69 #2829AB #AB286B
split-complementary
#ABAA28 #286BAB #6928AB
monochromatic
#484711 #79791C #ABAA28 #D2D13E #DEDD70

Accessibility & contrast

On white

2.47
#ABAA28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#ABAA28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABAA28
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABAA28#FFFFFF#000000##000000
##ABAA281.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A305
Deuteranopia (green-blind)
#BAA733
Tritanopia (blue-blind)
#B89F92
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #abaa28;
/* rgb */ color: rgb(171, 170, 40);
/* oklch */ color: oklch(71.7% 0.143 109.1);
Tailwind
colors: {
  custom: {
    50: '#c8c36d',
    500: '#abaa28',
    950: '#000000',
  },
}
SCSS
$custom: #abaa28;
$custom-light: #c8c36d;
$custom-dark: #000000;
JSON
{
  "hex": "#abaa28",
  "rgb": {
    "r": 171,
    "g": 170,
    "b": 40
  },
  "hsl": {
    "h": 59.542,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.71653,
    "c": 0.14333,
    "h": 109.1
  },
  "luminance": 0.37561
}

Semantic roles & 50–950 ramp

primary
#ABAA28
secondary
#6A6BC4
accent
#44E543
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#141208
muted
#82817B

Preview Lab

Preview with #ABAA28

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

Preview Lab → · Contrast checker → · Palette generator →

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