#ABA728#ABA728

#ABA728 is a light, vivid yellow. Relative luminance 0.364; OKLCH L 71.0% C 0.140 H 107.6°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#ABA728
RGBrgb(171, 167, 40)
HSLhsl(58, 62%, 41%)
HSVhsv(58, 77%, 67%)
CMYKcmyk(0%, 2.3%, 76.6%, 32.9%)
CIE-LABlab(66.86, -13.00, 61.21)
CIE-LCHlch(66.86, 62.58, 101.99°)
OKLaboklab(70.99% -0.0425 0.1338)
OKLCHoklch(70.99% 0.14 107.6)
XYZxyz(30.9975, 36.4496, 7.4097)
Luminance0.3645 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA728 #282CAB
analogous
#AB6628 #ABA728 #6EAB28
triadic
#ABA728 #28ABA7 #A728AB
tetradic
#ABA728 #28AB66 #282CAB #AB286E
square
#ABA728 #28AB66 #282CAB #AB286E
split-complementary
#ABA728 #286EAB #6628AB
monochromatic
#484611 #79771C #ABA728 #D2CD3E #DEDA70

Accessibility & contrast

On white

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

On black

8.29
#ABA728 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA728
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA728#FFFFFF#000000##000000
##ABA7281.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A007
Deuteranopia (green-blind)
#B8A532
Tritanopia (blue-blind)
#B89C8F
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #aba728;
/* rgb */ color: rgb(171, 167, 40);
/* oklch */ color: oklch(71.0% 0.140 107.6);
Tailwind
colors: {
  custom: {
    50: '#c8c06d',
    500: '#aba728',
    950: '#000000',
  },
}
SCSS
$custom: #aba728;
$custom-light: #c8c06d;
$custom-dark: #000000;
JSON
{
  "hex": "#aba728",
  "rgb": {
    "r": 171,
    "g": 167,
    "b": 40
  },
  "hsl": {
    "h": 58.168,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.70987,
    "c": 0.14042,
    "h": 107.6
  },
  "luminance": 0.36449
}

Semantic roles & 50–950 ramp

primary
#ABA728
secondary
#6A6DC4
accent
#48E543
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#141208
muted
#82817B

Preview Lab

Preview with #ABA728

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

Preview Lab → · Contrast checker → · Palette generator →

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