#ABA142#ABA142

#ABA142 is a light, moderate yellow. Relative luminance 0.345; OKLCH L 69.9% C 0.117 H 103.3°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#ABA142
RGBrgb(171, 161, 66)
HSLhsl(54, 44%, 46%)
HSVhsv(54, 61%, 67%)
CMYKcmyk(0%, 5.8%, 61.4%, 32.9%)
CIE-LABlab(65.39, -8.42, 49.46)
CIE-LCHlch(65.39, 50.17, 99.66°)
OKLaboklab(69.88% -0.0268 0.1134)
OKLCHoklch(69.88% 0.117 103.3)
XYZxyz(30.5239, 34.5421, 10.2126)
Luminance0.3454 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA142 #424CAB
analogous
#AB6D42 #ABA142 #81AB42
triadic
#ABA142 #42ABA1 #A142AB
tetradic
#ABA142 #42AB6D #424CAB #AB4281
square
#ABA142 #42AB6D #424CAB #AB4281
split-complementary
#ABA142 #4281AB #6D42AB
monochromatic
#534E20 #7F7731 #ABA142 #C4BB66 #D5CF92

Accessibility & contrast

On white

2.66
#ABA142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#ABA142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA142
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA142#FFFFFF#000000##000000
##ABA1421.002.667.917.91
#FFFFFF2.661.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C37
Deuteranopia (green-blind)
#B2A147
Tritanopia (blue-blind)
#B7978D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #aba142;
/* rgb */ color: rgb(171, 161, 66);
/* oklch */ color: oklch(69.9% 0.117 103.3);
Tailwind
colors: {
  custom: {
    50: '#c7bc7a',
    500: '#aba142',
    950: '#000000',
  },
}
SCSS
$custom: #aba142;
$custom-light: #c7bc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#aba142",
  "rgb": {
    "r": 171,
    "g": 161,
    "b": 66
  },
  "hsl": {
    "h": 54.286,
    "s": 44.304,
    "l": 46.471
  },
  "oklch": {
    "l": 0.69875,
    "c": 0.11652,
    "h": 103.3
  },
  "luminance": 0.34541
}

Semantic roles & 50–950 ramp

primary
#ABA142
secondary
#888EC0
accent
#60D454
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #ABA142

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

Preview Lab → · Contrast checker → · Palette generator →

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