#ABA42D#ABA42D

#ABA42D is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.4% C 0.135 H 106.0°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#ABA42D
RGBrgb(171, 164, 45)
HSLhsl(57, 58%, 42%)
HSVhsv(57, 74%, 67%)
CMYKcmyk(0%, 4.1%, 73.7%, 32.9%)
CIE-LABlab(66.06, -11.22, 58.75)
CIE-LCHlch(66.06, 59.81, 100.81°)
OKLaboklab(70.36% -0.0371 0.1296)
OKLCHoklch(70.36% 0.135 106)
XYZxyz(30.5449, 35.3994, 7.7059)
Luminance0.3540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA42D #2D34AB
analogous
#AB652D #ABA42D #73AB2D
triadic
#ABA42D #2DABA4 #A42DAB
tetradic
#ABA42D #2DAB65 #2D34AB #AB2D73
square
#ABA42D #2DAB65 #2D34AB #AB2D73
split-complementary
#ABA42D #2D73AB #652DAB
monochromatic
#4A4714 #7B7620 #ABA42D #CEC747 #DBD677

Accessibility & contrast

On white

2.60
#ABA42D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#ABA42D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA42D
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA42D#FFFFFF#000000##000000
##ABA42D1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E16
Deuteranopia (green-blind)
#B5A336
Tritanopia (blue-blind)
#B8998D
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #aba42d;
/* rgb */ color: rgb(171, 164, 45);
/* oklch */ color: oklch(70.4% 0.135 106.0);
Tailwind
colors: {
  custom: {
    50: '#c8be6f',
    500: '#aba42d',
    950: '#000000',
  },
}
SCSS
$custom: #aba42d;
$custom-light: #c8be6f;
$custom-dark: #000000;
JSON
{
  "hex": "#aba42d",
  "rgb": {
    "r": 171,
    "g": 164,
    "b": 45
  },
  "hsl": {
    "h": 56.667,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.70355,
    "c": 0.13475,
    "h": 106
  },
  "luminance": 0.35398
}

Semantic roles & 50–950 ramp

primary
#ABA42D
secondary
#7175C3
accent
#4FE246
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #ABA42D

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

Preview Lab → · Contrast checker → · Palette generator →

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