#ABA12A#ABA12A

#ABA12A is a light, vivid yellow. Relative luminance 0.343; OKLCH L 69.7% C 0.134 H 104.4°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#ABA12A
RGBrgb(171, 161, 42)
HSLhsl(55, 61%, 42%)
HSVhsv(55, 75%, 67%)
CMYKcmyk(0%, 5.8%, 75.4%, 32.9%)
CIE-LABlab(65.21, -9.78, 59.01)
CIE-LCHlch(65.21, 59.82, 99.41°)
OKLaboklab(69.68% -0.0333 0.1295)
OKLCHoklch(69.68% 0.134 104.4)
XYZxyz(29.9587, 34.3160, 7.2356)
Luminance0.3432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA12A #2A34AB
analogous
#AB612A #ABA12A #75AB2A
triadic
#ABA12A #2AABA1 #A12AAB
tetradic
#ABA12A #2AAB61 #2A34AB #AB2A75
square
#ABA12A #2AAB61 #2A34AB #AB2A75
split-complementary
#ABA12A #2A75AB #612AAB
monochromatic
#494412 #7A731E #ABA12A #D1C542 #DDD473

Accessibility & contrast

On white

2.67
#ABA12A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#ABA12A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA12A
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA12A#FFFFFF#000000##000000
##ABA12A1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B11
Deuteranopia (green-blind)
#B3A133
Tritanopia (blue-blind)
#B8968A
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #aba12a;
/* rgb */ color: rgb(171, 161, 42);
/* oklch */ color: oklch(69.7% 0.134 104.4);
Tailwind
colors: {
  custom: {
    50: '#c8bc6d',
    500: '#aba12a',
    950: '#000000',
  },
}
SCSS
$custom: #aba12a;
$custom-light: #c8bc6d;
$custom-dark: #000000;
JSON
{
  "hex": "#aba12a",
  "rgb": {
    "r": 171,
    "g": 161,
    "b": 42
  },
  "hsl": {
    "h": 55.349,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.69676,
    "c": 0.13375,
    "h": 104.4
  },
  "luminance": 0.34315
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ABA12A

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

Preview Lab → · Contrast checker → · Palette generator →

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