#ABA73A#ABA73A

#ABA73A is a light, vivid yellow. Relative luminance 0.366; OKLCH L 71.1% C 0.129 H 107.2°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#ABA73A
RGBrgb(171, 167, 58)
HSLhsl(58, 49%, 45%)
HSVhsv(58, 66%, 67%)
CMYKcmyk(0%, 2.3%, 66.1%, 32.9%)
CIE-LABlab(66.98, -12.09, 54.63)
CIE-LCHlch(66.98, 55.95, 102.48°)
OKLaboklab(71.12% -0.0382 0.1231)
OKLCHoklch(71.12% 0.129 107.2)
XYZxyz(31.3781, 36.6019, 9.4142)
Luminance0.3660 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA73A #3A3EAB
analogous
#AB6E3A #ABA73A #77AB3A
triadic
#ABA73A #3AABA7 #A73AAB
tetradic
#ABA73A #3AAB6E #3A3EAB #AB3A77
square
#ABA73A #3AAB6E #3A3EAB #AB3A77
split-complementary
#ABA73A #3A77AB #6E3AAB
monochromatic
#504E1B #7D7A2A #ABA73A #C7C35B #D7D489

Accessibility & contrast

On white

2.52
#ABA73A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#ABA73A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA73A
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA73A#FFFFFF#000000##000000
##ABA73A1.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A12B
Deuteranopia (green-blind)
#B7A541
Tritanopia (blue-blind)
#B79C91
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #aba73a;
/* rgb */ color: rgb(171, 167, 58);
/* oklch */ color: oklch(71.1% 0.129 107.2);
Tailwind
colors: {
  custom: {
    50: '#c7c076',
    500: '#aba73a',
    950: '#000000',
  },
}
SCSS
$custom: #aba73a;
$custom-light: #c7c076;
$custom-dark: #000000;
JSON
{
  "hex": "#aba73a",
  "rgb": {
    "r": 171,
    "g": 167,
    "b": 58
  },
  "hsl": {
    "h": 57.876,
    "s": 49.345,
    "l": 44.902
  },
  "oklch": {
    "l": 0.71116,
    "c": 0.1289,
    "h": 107.2
  },
  "luminance": 0.36601
}

Semantic roles & 50–950 ramp

primary
#ABA73A
secondary
#8082C1
accent
#54D94F
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #ABA73A

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

Preview Lab → · Contrast checker → · Palette generator →

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