#ABA02A#ABA02A

#ABA02A is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.5% C 0.133 H 103.9°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#ABA02A
RGBrgb(171, 160, 42)
HSLhsl(55, 61%, 42%)
HSVhsv(55, 75%, 67%)
CMYKcmyk(0%, 6.4%, 75.4%, 32.9%)
CIE-LABlab(64.94, -9.25, 58.75)
CIE-LCHlch(64.94, 59.48, 98.95°)
OKLaboklab(69.46% -0.0318 0.129)
OKLCHoklch(69.46% 0.133 103.9)
XYZxyz(29.7846, 33.9679, 7.1776)
Luminance0.3397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA02A #2A35AB
analogous
#AB602A #ABA02A #76AB2A
triadic
#ABA02A #2AABA0 #A02AAB
tetradic
#ABA02A #2AAB60 #2A35AB #AB2A76
square
#ABA02A #2AAB60 #2A35AB #AB2A76
split-complementary
#ABA02A #2A76AB #602AAB
monochromatic
#494412 #7A721E #ABA02A #D1C442 #DDD473

Accessibility & contrast

On white

2.69
#ABA02A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#ABA02A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA02A
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA02A#FFFFFF#000000##000000
##ABA02A1.002.697.797.79
#FFFFFF2.691.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A12
Deuteranopia (green-blind)
#B2A033
Tritanopia (blue-blind)
#B89589
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #aba02a;
/* rgb */ color: rgb(171, 160, 42);
/* oklch */ color: oklch(69.5% 0.133 103.9);
Tailwind
colors: {
  custom: {
    50: '#c8bb6d',
    500: '#aba02a',
    950: '#000000',
  },
}
SCSS
$custom: #aba02a;
$custom-light: #c8bb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#aba02a",
  "rgb": {
    "r": 171,
    "g": 160,
    "b": 42
  },
  "hsl": {
    "h": 54.884,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.69457,
    "c": 0.13286,
    "h": 103.9
  },
  "luminance": 0.33967
}

Semantic roles & 50–950 ramp

primary
#ABA02A
secondary
#6D74C4
accent
#52E444
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #ABA02A

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

Preview Lab → · Contrast checker → · Palette generator →

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