#ABA642#ABA642

#ABA642 is a light, vivid yellow. Relative luminance 0.363; OKLCH L 71.0% C 0.122 H 106.4°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#ABA642
RGBrgb(171, 166, 66)
HSLhsl(57, 44%, 46%)
HSVhsv(57, 61%, 67%)
CMYKcmyk(0%, 2.9%, 61.4%, 32.9%)
CIE-LABlab(66.77, -11.05, 50.96)
CIE-LCHlch(66.77, 52.14, 102.24°)
OKLaboklab(70.97% -0.0343 0.1166)
OKLCHoklch(70.97% 0.122 106.4)
XYZxyz(31.4152, 36.3247, 10.5097)
Luminance0.3632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA642 #4247AB
analogous
#AB7242 #ABA642 #7CAB42
triadic
#ABA642 #42ABA6 #A642AB
tetradic
#ABA642 #42AB72 #4247AB #AB427C
square
#ABA642 #42AB72 #4247AB #AB427C
split-complementary
#ABA642 #427CAB #7242AB
monochromatic
#535020 #7F7B31 #ABA642 #C4C066 #D5D292

Accessibility & contrast

On white

2.54
#ABA642 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#ABA642 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA642
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA642#FFFFFF#000000##000000
##ABA6421.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A036
Deuteranopia (green-blind)
#B6A448
Tritanopia (blue-blind)
#B79C91
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #aba642;
/* rgb */ color: rgb(171, 166, 66);
/* oklch */ color: oklch(71.0% 0.122 106.4);
Tailwind
colors: {
  custom: {
    50: '#c7c07b',
    500: '#aba642',
    950: '#000000',
  },
}
SCSS
$custom: #aba642;
$custom-light: #c7c07b;
$custom-dark: #000000;
JSON
{
  "hex": "#aba642",
  "rgb": {
    "r": 171,
    "g": 166,
    "b": 66
  },
  "hsl": {
    "h": 57.143,
    "s": 44.304,
    "l": 46.471
  },
  "oklch": {
    "l": 0.7097,
    "c": 0.12153,
    "h": 106.4
  },
  "luminance": 0.36324
}

Semantic roles & 50–950 ramp

primary
#ABA642
secondary
#888BC0
accent
#5AD454
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #ABA642

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

Preview Lab → · Contrast checker → · Palette generator →

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