#ABA942#ABA942

#ABA942 is a light, vivid yellow. Relative luminance 0.374; OKLCH L 71.6% C 0.125 H 108.1°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#ABA942
RGBrgb(171, 169, 66)
HSLhsl(59, 44%, 46%)
HSVhsv(59, 61%, 67%)
CMYKcmyk(0%, 1.2%, 61.4%, 32.9%)
CIE-LABlab(67.60, -12.62, 51.86)
CIE-LCHlch(67.60, 53.37, 103.67°)
OKLaboklab(71.63% -0.0388 0.1185)
OKLCHoklch(71.63% 0.125 108.1)
XYZxyz(31.9669, 37.4281, 10.6936)
Luminance0.3743 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA942 #4244AB
analogous
#AB7542 #ABA942 #79AB42
triadic
#ABA942 #42ABA9 #A942AB
tetradic
#ABA942 #42AB75 #4244AB #AB4279
square
#ABA942 #42AB75 #4244AB #AB4279
split-complementary
#ABA942 #4279AB #7542AB
monochromatic
#535220 #7F7D31 #ABA942 #C4C266 #D5D492

Accessibility & contrast

On white

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

On black

8.49
#ABA942 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA942
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA942#FFFFFF#000000##000000
##ABA9421.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A336
Deuteranopia (green-blind)
#B8A648
Tritanopia (blue-blind)
#B79F93
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #aba942;
/* rgb */ color: rgb(171, 169, 66);
/* oklch */ color: oklch(71.6% 0.125 108.1);
Tailwind
colors: {
  custom: {
    50: '#c7c27b',
    500: '#aba942',
    950: '#000000',
  },
}
SCSS
$custom: #aba942;
$custom-light: #c7c27b;
$custom-dark: #000000;
JSON
{
  "hex": "#aba942",
  "rgb": {
    "r": 171,
    "g": 169,
    "b": 66
  },
  "hsl": {
    "h": 58.857,
    "s": 44.304,
    "l": 46.471
  },
  "oklch": {
    "l": 0.71631,
    "c": 0.12466,
    "h": 108.1
  },
  "luminance": 0.37427
}

Semantic roles & 50–950 ramp

primary
#ABA942
secondary
#8889C0
accent
#56D454
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #ABA942

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

Preview Lab → · Contrast checker → · Palette generator →

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