#ABA73D#ABA73D

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

Color values

HEX#ABA73D
RGBrgb(171, 167, 61)
HSLhsl(58, 47%, 45%)
HSVhsv(58, 64%, 67%)
CMYKcmyk(0%, 2.3%, 64.3%, 32.9%)
CIE-LABlab(67.00, -11.91, 53.39)
CIE-LCHlch(67.00, 54.70, 102.57°)
OKLaboklab(71.14% -0.0373 0.121)
OKLCHoklch(71.14% 0.127 107.1)
XYZxyz(31.4567, 36.6333, 9.8279)
Luminance0.3663 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA73D #3D41AB
analogous
#AB703D #ABA73D #78AB3D
triadic
#ABA73D #3DABA7 #A73DAB
tetradic
#ABA73D #3DAB70 #3D41AB #AB3D78
square
#ABA73D #3DAB70 #3D41AB #AB3D78
split-complementary
#ABA73D #3D78AB #703DAB
monochromatic
#514F1D #7E7B2D #ABA73D #C6C25F #D6D38C

Accessibility & contrast

On white

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

On black

8.33
#ABA73D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA73D
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA73D#FFFFFF#000000##000000
##ABA73D1.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aba73d;
/* rgb */ color: rgb(171, 167, 61);
/* oklch */ color: oklch(71.1% 0.127 107.1);
Tailwind
colors: {
  custom: {
    50: '#c7c078',
    500: '#aba73d',
    950: '#000000',
  },
}
SCSS
$custom: #aba73d;
$custom-light: #c7c078;
$custom-dark: #000000;
JSON
{
  "hex": "#aba73d",
  "rgb": {
    "r": 171,
    "g": 167,
    "b": 61
  },
  "hsl": {
    "h": 57.818,
    "s": 47.414,
    "l": 45.49
  },
  "oklch": {
    "l": 0.71142,
    "c": 0.12661,
    "h": 107.1
  },
  "luminance": 0.36632
}

Semantic roles & 50–950 ramp

primary
#ABA73D
secondary
#8385C1
accent
#56D751
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #ABA73D

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

Preview Lab → · Contrast checker → · Palette generator →

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