#ABA534#ABA534

#ABA534 is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.6% C 0.131 H 106.3°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#ABA534
RGBrgb(171, 165, 52)
HSLhsl(57, 53%, 44%)
HSVhsv(57, 70%, 67%)
CMYKcmyk(0%, 3.5%, 69.6%, 32.9%)
CIE-LABlab(66.38, -11.39, 56.44)
CIE-LCHlch(66.38, 57.58, 101.41°)
OKLaboklab(70.63% -0.0368 0.1259)
OKLCHoklch(70.63% 0.131 106.3)
XYZxyz(30.8707, 35.8172, 8.5354)
Luminance0.3582 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA534 #343AAB
analogous
#AB6934 #ABA534 #75AB34
triadic
#ABA534 #34ABA5 #A534AB
tetradic
#ABA534 #34AB69 #343AAB #AB3475
square
#ABA534 #34AB69 #343AAB #AB3475
split-complementary
#ABA534 #3475AB #6934AB
monochromatic
#4D4A17 #7C7826 #ABA534 #CAC452 #D9D481

Accessibility & contrast

On white

2.57
#ABA534 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#ABA534 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA534
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA534#FFFFFF#000000##000000
##ABA5341.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F23
Deuteranopia (green-blind)
#B6A33C
Tritanopia (blue-blind)
#B79A8E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #aba534;
/* rgb */ color: rgb(171, 165, 52);
/* oklch */ color: oklch(70.6% 0.131 106.3);
Tailwind
colors: {
  custom: {
    50: '#c7bf73',
    500: '#aba534',
    950: '#000000',
  },
}
SCSS
$custom: #aba534;
$custom-light: #c7bf73;
$custom-dark: #000000;
JSON
{
  "hex": "#aba534",
  "rgb": {
    "r": 171,
    "g": 165,
    "b": 52
  },
  "hsl": {
    "h": 56.975,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.70626,
    "c": 0.13121,
    "h": 106.3
  },
  "luminance": 0.35816
}

Semantic roles & 50–950 ramp

primary
#ABA534
secondary
#797DC2
accent
#52DD4B
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #ABA534

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

Preview Lab → · Contrast checker → · Palette generator →

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