#ABA73B#ABA73B

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

Color values

HEX#ABA73B
RGBrgb(171, 167, 59)
HSLhsl(58, 49%, 45%)
HSVhsv(58, 65%, 67%)
CMYKcmyk(0%, 2.3%, 65.5%, 32.9%)
CIE-LABlab(66.98, -12.03, 54.22)
CIE-LCHlch(66.98, 55.54, 102.51°)
OKLaboklab(71.12% -0.0379 0.1224)
OKLCHoklch(71.12% 0.128 107.2)
XYZxyz(31.4038, 36.6121, 9.5494)
Luminance0.3661 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA73B #3B3FAB
analogous
#AB6F3B #ABA73B #77AB3B
triadic
#ABA73B #3BABA7 #A73BAB
tetradic
#ABA73B #3BAB6F #3B3FAB #AB3B77
square
#ABA73B #3BAB6F #3B3FAB #AB3B77
split-complementary
#ABA73B #3B77AB #6F3BAB
monochromatic
#504E1C #7D7B2B #ABA73B #C7C35C #D7D48A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABA73B#FFFFFF#000000##000000
##ABA73B1.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)
#B5A12D
Deuteranopia (green-blind)
#B7A542
Tritanopia (blue-blind)
#B79C91
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #aba73b;
/* rgb */ color: rgb(171, 167, 59);
/* oklch */ color: oklch(71.1% 0.128 107.2);
Tailwind
colors: {
  custom: {
    50: '#c7c077',
    500: '#aba73b',
    950: '#000000',
  },
}
SCSS
$custom: #aba73b;
$custom-light: #c7c077;
$custom-dark: #000000;
JSON
{
  "hex": "#aba73b",
  "rgb": {
    "r": 171,
    "g": 167,
    "b": 59
  },
  "hsl": {
    "h": 57.857,
    "s": 48.696,
    "l": 45.098
  },
  "oklch": {
    "l": 0.71124,
    "c": 0.12815,
    "h": 107.2
  },
  "luminance": 0.36611
}

Semantic roles & 50–950 ramp

primary
#ABA73B
secondary
#8183C1
accent
#54D850
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #ABA73B

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

Preview Lab → · Contrast checker → · Palette generator →

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