#ABA02C#ABA02C

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

Color values

HEX#ABA02C
RGBrgb(171, 160, 44)
HSLhsl(55, 59%, 42%)
HSVhsv(55, 74%, 67%)
CMYKcmyk(0%, 6.4%, 74.3%, 32.9%)
CIE-LABlab(64.95, -9.16, 58.06)
CIE-LCHlch(64.95, 58.77, 98.97°)
OKLaboklab(69.47% -0.0314 0.1279)
OKLCHoklch(69.47% 0.132 103.8)
XYZxyz(29.8213, 33.9826, 7.3709)
Luminance0.3398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA02C #2C37AB
analogous
#AB602C #ABA02C #77AB2C
triadic
#ABA02C #2CABA0 #A02CAB
tetradic
#ABA02C #2CAB60 #2C37AB #AB2C77
square
#ABA02C #2CAB60 #2C37AB #AB2C77
split-complementary
#ABA02C #2C77AB #602CAB
monochromatic
#4A4513 #7A721F #ABA02C #CFC345 #DCD376

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABA02C#FFFFFF#000000##000000
##ABA02C1.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)
#AF9B16
Deuteranopia (green-blind)
#B2A034
Tritanopia (blue-blind)
#B8958A
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #aba02c;
/* rgb */ color: rgb(171, 160, 44);
/* oklch */ color: oklch(69.5% 0.132 103.8);
Tailwind
colors: {
  custom: {
    50: '#c8bb6e',
    500: '#aba02c',
    950: '#000000',
  },
}
SCSS
$custom: #aba02c;
$custom-light: #c8bb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#aba02c",
  "rgb": {
    "r": 171,
    "g": 160,
    "b": 44
  },
  "hsl": {
    "h": 54.803,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.6947,
    "c": 0.13168,
    "h": 103.8
  },
  "luminance": 0.33981
}

Semantic roles & 50–950 ramp

primary
#ABA02C
secondary
#6F77C3
accent
#53E246
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B

Preview Lab

Preview with #ABA02C

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

Preview Lab → · Contrast checker → · Palette generator →

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