#ABA72D#ABA72D

#ABA72D is a light, vivid yellow. Relative luminance 0.365; OKLCH L 71.0% C 0.138 H 107.5°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#ABA72D
RGBrgb(171, 167, 45)
HSLhsl(58, 58%, 42%)
HSVhsv(58, 74%, 67%)
CMYKcmyk(0%, 2.3%, 73.7%, 32.9%)
CIE-LABlab(66.89, -12.78, 59.54)
CIE-LCHlch(66.89, 60.90, 102.12°)
OKLaboklab(71.02% -0.0414 0.1312)
OKLCHoklch(71.02% 0.138 107.5)
XYZxyz(31.0882, 36.4859, 7.8870)
Luminance0.3649 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA72D #2D31AB
analogous
#AB682D #ABA72D #70AB2D
triadic
#ABA72D #2DABA7 #A72DAB
tetradic
#ABA72D #2DAB68 #2D31AB #AB2D70
square
#ABA72D #2DAB68 #2D31AB #AB2D70
split-complementary
#ABA72D #2D70AB #682DAB
monochromatic
#4A4814 #7B7820 #ABA72D #CECA47 #DBD877

Accessibility & contrast

On white

2.53
#ABA72D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#ABA72D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA72D
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA72D#FFFFFF#000000##000000
##ABA72D1.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A015
Deuteranopia (green-blind)
#B7A536
Tritanopia (blue-blind)
#B89C90
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #aba72d;
/* rgb */ color: rgb(171, 167, 45);
/* oklch */ color: oklch(71.0% 0.138 107.5);
Tailwind
colors: {
  custom: {
    50: '#c8c06f',
    500: '#aba72d',
    950: '#000000',
  },
}
SCSS
$custom: #aba72d;
$custom-light: #c8c06f;
$custom-dark: #000000;
JSON
{
  "hex": "#aba72d",
  "rgb": {
    "r": 171,
    "g": 167,
    "b": 45
  },
  "hsl": {
    "h": 58.095,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.71018,
    "c": 0.13761,
    "h": 107.5
  },
  "luminance": 0.36485
}

Semantic roles & 50–950 ramp

primary
#ABA72D
secondary
#7173C3
accent
#4BE246
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #ABA72D

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

Preview Lab → · Contrast checker → · Palette generator →

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