#ABA02D#ABA02D

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

Color values

HEX#ABA02D
RGBrgb(171, 160, 45)
HSLhsl(55, 58%, 42%)
HSVhsv(55, 74%, 67%)
CMYKcmyk(0%, 6.4%, 73.7%, 32.9%)
CIE-LABlab(64.95, -9.12, 57.70)
CIE-LCHlch(64.95, 58.41, 98.98°)
OKLaboklab(69.48% -0.0311 0.1273)
OKLCHoklch(69.48% 0.131 103.7)
XYZxyz(29.8403, 33.9902, 7.4711)
Luminance0.3399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA02D #2D38AB
analogous
#AB612D #ABA02D #77AB2D
triadic
#ABA02D #2DABA0 #A02DAB
tetradic
#ABA02D #2DAB61 #2D38AB #AB2D77
square
#ABA02D #2DAB61 #2D38AB #AB2D77
split-complementary
#ABA02D #2D77AB #612DAB
monochromatic
#4A4514 #7B7320 #ABA02D #CEC347 #DBD377

Accessibility & contrast

On white

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

On black

7.80
#ABA02D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA02D
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA02D#FFFFFF#000000##000000
##ABA02D1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B18
Deuteranopia (green-blind)
#B2A035
Tritanopia (blue-blind)
#B8958A
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #aba02d;
/* rgb */ color: rgb(171, 160, 45);
/* oklch */ color: oklch(69.5% 0.131 103.7);
Tailwind
colors: {
  custom: {
    50: '#c8bb6e',
    500: '#aba02d',
    950: '#000000',
  },
}
SCSS
$custom: #aba02d;
$custom-light: #c8bb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#aba02d",
  "rgb": {
    "r": 171,
    "g": 160,
    "b": 45
  },
  "hsl": {
    "h": 54.762,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.69477,
    "c": 0.13107,
    "h": 103.7
  },
  "luminance": 0.33989
}

Semantic roles & 50–950 ramp

primary
#ABA02D
secondary
#7178C3
accent
#54E246
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B

Preview Lab

Preview with #ABA02D

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

Preview Lab → · Contrast checker → · Palette generator →

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