#ABA042#ABA042

#ABA042 is a light, moderate yellow. Relative luminance 0.342; OKLCH L 69.7% C 0.116 H 102.7°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#ABA042
RGBrgb(171, 160, 66)
HSLhsl(54, 44%, 46%)
HSVhsv(54, 61%, 67%)
CMYKcmyk(0%, 6.4%, 61.4%, 32.9%)
CIE-LABlab(65.12, -7.89, 49.16)
CIE-LCHlch(65.12, 49.79, 99.12°)
OKLaboklab(69.66% -0.0253 0.1128)
OKLCHoklch(69.66% 0.116 102.7)
XYZxyz(30.3499, 34.1940, 10.1546)
Luminance0.3419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA042 #424DAB
analogous
#AB6C42 #ABA042 #82AB42
triadic
#ABA042 #42ABA0 #A042AB
tetradic
#ABA042 #42AB6C #424DAB #AB4282
square
#ABA042 #42AB6C #424DAB #AB4282
split-complementary
#ABA042 #4282AB #6C42AB
monochromatic
#534D20 #7F7731 #ABA042 #C4BA66 #D5CE92

Accessibility & contrast

On white

2.68
#ABA042 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#ABA042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA042
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA042#FFFFFF#000000##000000
##ABA0421.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B37
Deuteranopia (green-blind)
#B1A047
Tritanopia (blue-blind)
#B7968C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #aba042;
/* rgb */ color: rgb(171, 160, 66);
/* oklch */ color: oklch(69.7% 0.116 102.7);
Tailwind
colors: {
  custom: {
    50: '#c7bb7a',
    500: '#aba042',
    950: '#000000',
  },
}
SCSS
$custom: #aba042;
$custom-light: #c7bb7a;
$custom-dark: #000000;
JSON
{
  "hex": "#aba042",
  "rgb": {
    "r": 171,
    "g": 160,
    "b": 66
  },
  "hsl": {
    "h": 53.714,
    "s": 44.304,
    "l": 46.471
  },
  "oklch": {
    "l": 0.69657,
    "c": 0.11556,
    "h": 102.7
  },
  "luminance": 0.34193
}

Semantic roles & 50–950 ramp

primary
#ABA042
secondary
#888EC0
accent
#61D454
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131109
muted
#82807B

Preview Lab

Preview with #ABA042

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

Preview Lab → · Contrast checker → · Palette generator →

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