#ABA732#ABA732

#ABA732 is a light, vivid yellow. Relative luminance 0.365; OKLCH L 71.1% C 0.135 H 107.4°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#ABA732
RGBrgb(171, 167, 50)
HSLhsl(58, 55%, 43%)
HSVhsv(58, 71%, 67%)
CMYKcmyk(0%, 2.3%, 70.8%, 32.9%)
CIE-LABlab(66.92, -12.54, 57.74)
CIE-LCHlch(66.92, 59.09, 102.25°)
OKLaboklab(71.05% -0.0403 0.1283)
OKLCHoklch(71.05% 0.135 107.4)
XYZxyz(31.1902, 36.5267, 8.4244)
Luminance0.3653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA732 #3236AB
analogous
#AB6B32 #ABA732 #72AB32
triadic
#ABA732 #32ABA7 #A732AB
tetradic
#ABA732 #32AB6B #3236AB #AB3272
square
#ABA732 #32AB6B #3236AB #AB3272
split-complementary
#ABA732 #3272AB #6B32AB
monochromatic
#4C4B16 #7C7924 #ABA732 #CBC74F #D9D67E

Accessibility & contrast

On white

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

On black

8.31
#ABA732 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA732
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA732#FFFFFF#000000##000000
##ABA7321.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A01F
Deuteranopia (green-blind)
#B7A53A
Tritanopia (blue-blind)
#B79C90
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #aba732;
/* rgb */ color: rgb(171, 167, 50);
/* oklch */ color: oklch(71.1% 0.135 107.4);
Tailwind
colors: {
  custom: {
    50: '#c7c072',
    500: '#aba732',
    950: '#000000',
  },
}
SCSS
$custom: #aba732;
$custom-light: #c7c072;
$custom-dark: #000000;
JSON
{
  "hex": "#aba732",
  "rgb": {
    "r": 171,
    "g": 167,
    "b": 50
  },
  "hsl": {
    "h": 58.017,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.71052,
    "c": 0.1345,
    "h": 107.4
  },
  "luminance": 0.36526
}

Semantic roles & 50–950 ramp

primary
#ABA732
secondary
#7779C2
accent
#4FDE4A
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #ABA732

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

Preview Lab → · Contrast checker → · Palette generator →

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