#ABA73C#ABA73C

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

Color values

HEX#ABA73C
RGBrgb(171, 167, 60)
HSLhsl(58, 48%, 45%)
HSVhsv(58, 65%, 67%)
CMYKcmyk(0%, 2.3%, 64.9%, 32.9%)
CIE-LABlab(66.99, -11.97, 53.81)
CIE-LCHlch(66.99, 55.12, 102.54°)
OKLaboklab(71.13% -0.0376 0.1217)
OKLCHoklch(71.13% 0.127 107.2)
XYZxyz(31.4300, 36.6226, 9.6873)
Luminance0.3662 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA73C #3C40AB
analogous
#AB703C #ABA73C #77AB3C
triadic
#ABA73C #3CABA7 #A73CAB
tetradic
#ABA73C #3CAB70 #3C40AB #AB3C77
square
#ABA73C #3CAB70 #3C40AB #AB3C77
split-complementary
#ABA73C #3C77AB #703CAB
monochromatic
#504F1C #7E7B2C #ABA73C #C6C35E #D6D48B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABA73C#FFFFFF#000000##000000
##ABA73C1.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)
#B5A12E
Deuteranopia (green-blind)
#B7A543
Tritanopia (blue-blind)
#B79C91
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #aba73c;
/* rgb */ color: rgb(171, 167, 60);
/* oklch */ color: oklch(71.1% 0.127 107.2);
Tailwind
colors: {
  custom: {
    50: '#c7c077',
    500: '#aba73c',
    950: '#000000',
  },
}
SCSS
$custom: #aba73c;
$custom-light: #c7c077;
$custom-dark: #000000;
JSON
{
  "hex": "#aba73c",
  "rgb": {
    "r": 171,
    "g": 167,
    "b": 60
  },
  "hsl": {
    "h": 57.838,
    "s": 48.052,
    "l": 45.294
  },
  "oklch": {
    "l": 0.71133,
    "c": 0.12739,
    "h": 107.2
  },
  "luminance": 0.36622
}

Semantic roles & 50–950 ramp

primary
#ABA73C
secondary
#8284C1
accent
#55D850
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #ABA73C

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

Preview Lab → · Contrast checker → · Palette generator →

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