#ABA952#ABA952

#ABA952 is a light, moderate yellow. Relative luminance 0.376; OKLCH L 71.8% C 0.110 H 107.7°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#ABA952
RGBrgb(171, 169, 82)
HSLhsl(59, 35%, 50%)
HSVhsv(59, 52%, 67%)
CMYKcmyk(0%, 1.2%, 52%, 32.9%)
CIE-LABlab(67.76, -11.36, 44.59)
CIE-LCHlch(67.76, 46.02, 104.29°)
OKLaboklab(71.81% -0.0334 0.1049)
OKLCHoklch(71.81% 0.11 107.7)
XYZxyz(32.5064, 37.6439, 13.5347)
Luminance0.3764 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA952 #5254AB
analogous
#AB7D52 #ABA952 #80AB52
triadic
#ABA952 #52ABA9 #A952AB
tetradic
#ABA952 #52AB7D #5254AB #AB5280
square
#ABA952 #52AB7D #5254AB #AB5280
split-complementary
#ABA952 #5280AB #7D52AB
monochromatic
#58572A #82803E #ABA952 #C0BE7B #D3D2A4

Accessibility & contrast

On white

2.46
#ABA952 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#ABA952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA952
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA952#FFFFFF#000000##000000
##ABA9521.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A34A
Deuteranopia (green-blind)
#B7A756
Tritanopia (blue-blind)
#B6A095
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #aba952;
/* rgb */ color: rgb(171, 169, 82);
/* oklch */ color: oklch(71.8% 0.110 107.7);
Tailwind
colors: {
  custom: {
    50: '#c6c285',
    500: '#aba952',
    950: '#000000',
  },
}
SCSS
$custom: #aba952;
$custom-light: #c6c285;
$custom-dark: #000000;
JSON
{
  "hex": "#aba952",
  "rgb": {
    "r": 171,
    "g": 169,
    "b": 82
  },
  "hsl": {
    "h": 58.652,
    "s": 35.178,
    "l": 49.608
  },
  "oklch": {
    "l": 0.7181,
    "c": 0.11006,
    "h": 107.7
  },
  "luminance": 0.37643
}

Semantic roles & 50–950 ramp

primary
#ABA952
secondary
#9899C1
accent
#5FCB5D
background
#FCFBF8
surface
#F8F7EF
border
#D1D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #ABA952

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

Preview Lab → · Contrast checker → · Palette generator →

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