#ABA152#ABA152

#ABA152 is a light, moderate yellow. Relative luminance 0.348; OKLCH L 70.1% C 0.101 H 102.1°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#ABA152
RGBrgb(171, 161, 82)
HSLhsl(53, 35%, 50%)
HSVhsv(53, 52%, 67%)
CMYKcmyk(0%, 5.8%, 52%, 32.9%)
CIE-LABlab(65.56, -7.14, 42.00)
CIE-LCHlch(65.56, 42.61, 99.65°)
OKLaboklab(70.06% -0.0213 0.0992)
OKLCHoklch(70.06% 0.101 102.1)
XYZxyz(31.0634, 34.7579, 13.0537)
Luminance0.3476 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA152 #525CAB
analogous
#AB7452 #ABA152 #89AB52
triadic
#ABA152 #52ABA1 #A152AB
tetradic
#ABA152 #52AB74 #525CAB #AB5289
square
#ABA152 #52AB74 #525CAB #AB5289
split-complementary
#ABA152 #5289AB #7452AB
monochromatic
#58532A #827A3E #ABA152 #C0B87B #D3CEA4

Accessibility & contrast

On white

2.64
#ABA152 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#ABA152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA152
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA152#FFFFFF#000000##000000
##ABA1521.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9D4B
Deuteranopia (green-blind)
#B1A156
Tritanopia (blue-blind)
#B6988F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #aba152;
/* rgb */ color: rgb(171, 161, 82);
/* oklch */ color: oklch(70.1% 0.101 102.1);
Tailwind
colors: {
  custom: {
    50: '#c6bc85',
    500: '#aba152',
    950: '#000000',
  },
}
SCSS
$custom: #aba152;
$custom-light: #c6bc85;
$custom-dark: #000000;
JSON
{
  "hex": "#aba152",
  "rgb": {
    "r": 171,
    "g": 161,
    "b": 82
  },
  "hsl": {
    "h": 53.258,
    "s": 35.178,
    "l": 49.608
  },
  "oklch": {
    "l": 0.70064,
    "c": 0.10149,
    "h": 102.1
  },
  "luminance": 0.34757
}

Semantic roles & 50–950 ramp

primary
#ABA152
secondary
#989DC1
accent
#69CB5D
background
#FCFBF8
surface
#F8F6EF
border
#D1D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #ABA152

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

Preview Lab → · Contrast checker → · Palette generator →

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