#ABA71D#ABA71D

#ABA71D is a light, vivid yellow. Relative luminance 0.364; OKLCH L 70.9% C 0.146 H 107.8°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#ABA71D
RGBrgb(171, 167, 29)
HSLhsl(58, 71%, 39%)
HSVhsv(58, 83%, 67%)
CMYKcmyk(0%, 2.3%, 83%, 32.9%)
CIE-LABlab(66.81, -13.39, 64.37)
CIE-LCHlch(66.81, 65.75, 101.75°)
OKLaboklab(70.93% -0.0445 0.1386)
OKLCHoklch(70.93% 0.146 107.8)
XYZxyz(30.8364, 36.3852, 6.5609)
Luminance0.3638 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA71D #1D21AB
analogous
#AB601D #ABA71D #68AB1D
triadic
#ABA71D #1DABA7 #A71DAB
tetradic
#ABA71D #1DAB60 #1D21AB #AB1D68
square
#ABA71D #1DAB60 #1D21AB #AB1D68
split-complementary
#ABA71D #1D68AB #601DAB
monochromatic
#42410B #777414 #ABA71D #DBD62A #E4E05F

Accessibility & contrast

On white

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

On black

8.28
#ABA71D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA71D
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA71D#FFFFFF#000000##000000
##ABA71D1.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A000
Deuteranopia (green-blind)
#B8A52B
Tritanopia (blue-blind)
#B89B8F
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #aba71d;
/* rgb */ color: rgb(171, 167, 29);
/* oklch */ color: oklch(70.9% 0.146 107.8);
Tailwind
colors: {
  custom: {
    50: '#c8c068',
    500: '#aba71d',
    950: '#000000',
  },
}
SCSS
$custom: #aba71d;
$custom-light: #c8c068;
$custom-dark: #000000;
JSON
{
  "hex": "#aba71d",
  "rgb": {
    "r": 171,
    "g": 167,
    "b": 29
  },
  "hsl": {
    "h": 58.31,
    "s": 71,
    "l": 39.216
  },
  "oklch": {
    "l": 0.70933,
    "c": 0.14553,
    "h": 107.8
  },
  "luminance": 0.36384
}

Semantic roles & 50–950 ramp

primary
#ABA71D
secondary
#5C5FC8
accent
#3FEE3A
background
#FCFBF6
surface
#F9F7EB
border
#D2D0C6
text
#141207
muted
#82817A

Preview Lab

Preview with #ABA71D

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

Preview Lab → · Contrast checker → · Palette generator →

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