#ABA948#ABA948

#ABA948 is a light, moderate yellow. Relative luminance 0.375; OKLCH L 71.7% C 0.119 H 108.0°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#ABA948
RGBrgb(171, 169, 72)
HSLhsl(59, 41%, 48%)
HSVhsv(59, 58%, 67%)
CMYKcmyk(0%, 1.2%, 57.9%, 32.9%)
CIE-LABlab(67.65, -12.18, 49.21)
CIE-LCHlch(67.65, 50.70, 103.90°)
OKLaboklab(71.69% -0.0369 0.1137)
OKLCHoklch(71.69% 0.119 108)
XYZxyz(32.1532, 37.5027, 11.6746)
Luminance0.3750 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA948 #484AAB
analogous
#AB7848 #ABA948 #7BAB48
triadic
#ABA948 #48ABA9 #A948AB
tetradic
#ABA948 #48AB78 #484AAB #AB487B
square
#ABA948 #48AB78 #484AAB #AB487B
split-complementary
#ABA948 #487BAB #7848AB
monochromatic
#555424 #807E36 #ABA948 #C2C06E #D4D399

Accessibility & contrast

On white

2.47
#ABA948 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#ABA948 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA948
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA948#FFFFFF#000000##000000
##ABA9481.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A33E
Deuteranopia (green-blind)
#B7A74D
Tritanopia (blue-blind)
#B69F94
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #aba948;
/* rgb */ color: rgb(171, 169, 72);
/* oklch */ color: oklch(71.7% 0.119 108.0);
Tailwind
colors: {
  custom: {
    50: '#c6c27f',
    500: '#aba948',
    950: '#000000',
  },
}
SCSS
$custom: #aba948;
$custom-light: #c6c27f;
$custom-dark: #000000;
JSON
{
  "hex": "#aba948",
  "rgb": {
    "r": 171,
    "g": 169,
    "b": 72
  },
  "hsl": {
    "h": 58.788,
    "s": 40.741,
    "l": 47.647
  },
  "oklch": {
    "l": 0.71693,
    "c": 0.11949,
    "h": 108
  },
  "luminance": 0.37502
}

Semantic roles & 50–950 ramp

primary
#ABA948
secondary
#8E8FC0
accent
#5AD157
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #ABA948

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

Preview Lab → · Contrast checker → · Palette generator →

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