#ABA538#ABA538

#ABA538 is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.7% C 0.128 H 106.2°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#ABA538
RGBrgb(171, 165, 56)
HSLhsl(57, 51%, 45%)
HSVhsv(57, 67%, 67%)
CMYKcmyk(0%, 3.5%, 67.3%, 32.9%)
CIE-LABlab(66.41, -11.17, 54.87)
CIE-LCHlch(66.41, 55.99, 101.50°)
OKLaboklab(70.66% -0.0358 0.1233)
OKLCHoklch(70.66% 0.128 106.2)
XYZxyz(30.9647, 35.8548, 9.0302)
Luminance0.3585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA538 #383EAB
analogous
#AB6C38 #ABA538 #77AB38
triadic
#ABA538 #38ABA5 #A538AB
tetradic
#ABA538 #38AB6C #383EAB #AB3877
square
#ABA538 #38AB6C #383EAB #AB3877
split-complementary
#ABA538 #3877AB #6C38AB
monochromatic
#4F4C1A #7D7929 #ABA538 #C8C258 #D7D386

Accessibility & contrast

On white

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

On black

8.17
#ABA538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA538
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA538#FFFFFF#000000##000000
##ABA5381.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F29
Deuteranopia (green-blind)
#B5A43F
Tritanopia (blue-blind)
#B79A8F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #aba538;
/* rgb */ color: rgb(171, 165, 56);
/* oklch */ color: oklch(70.7% 0.128 106.2);
Tailwind
colors: {
  custom: {
    50: '#c7bf75',
    500: '#aba538',
    950: '#000000',
  },
}
SCSS
$custom: #aba538;
$custom-light: #c7bf75;
$custom-dark: #000000;
JSON
{
  "hex": "#aba538",
  "rgb": {
    "r": 171,
    "g": 165,
    "b": 56
  },
  "hsl": {
    "h": 56.87,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.70658,
    "c": 0.12837,
    "h": 106.2
  },
  "luminance": 0.35854
}

Semantic roles & 50–950 ramp

primary
#ABA538
secondary
#7D81C1
accent
#55DA4E
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #ABA538

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

Preview Lab → · Contrast checker → · Palette generator →

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