#ABA252#ABA252

#ABA252 is a light, moderate yellow. Relative luminance 0.351; OKLCH L 70.3% C 0.103 H 102.9°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#ABA252
RGBrgb(171, 162, 82)
HSLhsl(54, 35%, 50%)
HSVhsv(54, 52%, 67%)
CMYKcmyk(0%, 5.3%, 52%, 32.9%)
CIE-LABlab(65.83, -7.67, 42.33)
CIE-LCHlch(65.83, 43.02, 100.28°)
OKLaboklab(70.28% -0.0229 0.0999)
OKLCHoklch(70.28% 0.103 102.9)
XYZxyz(31.2388, 35.1088, 13.1121)
Luminance0.3511 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA252 #525BAB
analogous
#AB7652 #ABA252 #87AB52
triadic
#ABA252 #52ABA2 #A252AB
tetradic
#ABA252 #52AB76 #525BAB #AB5287
square
#ABA252 #52AB76 #525BAB #AB5287
split-complementary
#ABA252 #5287AB #7652AB
monochromatic
#58542A #827B3E #ABA252 #C0B97B #D3CFA4

Accessibility & contrast

On white

2.62
#ABA252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#ABA252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA252
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA252#FFFFFF#000000##000000
##ABA2521.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9D4B
Deuteranopia (green-blind)
#B1A256
Tritanopia (blue-blind)
#B69990
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #aba252;
/* rgb */ color: rgb(171, 162, 82);
/* oklch */ color: oklch(70.3% 0.103 102.9);
Tailwind
colors: {
  custom: {
    50: '#c6bd85',
    500: '#aba252',
    950: '#000000',
  },
}
SCSS
$custom: #aba252;
$custom-light: #c6bd85;
$custom-dark: #000000;
JSON
{
  "hex": "#aba252",
  "rgb": {
    "r": 171,
    "g": 162,
    "b": 82
  },
  "hsl": {
    "h": 53.933,
    "s": 35.178,
    "l": 49.608
  },
  "oklch": {
    "l": 0.70281,
    "c": 0.10251,
    "h": 102.9
  },
  "luminance": 0.35108
}

Semantic roles & 50–950 ramp

primary
#ABA252
secondary
#989CC1
accent
#68CB5D
background
#FCFBF8
surface
#F8F6EF
border
#D1D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #ABA252

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

Preview Lab → · Contrast checker → · Palette generator →

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