#ABA951#ABA951

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

Color values

HEX#ABA951
RGBrgb(171, 169, 81)
HSLhsl(59, 36%, 49%)
HSVhsv(59, 53%, 67%)
CMYKcmyk(0%, 1.2%, 52.6%, 32.9%)
CIE-LABlab(67.75, -11.45, 45.07)
CIE-LCHlch(67.75, 46.50, 104.25°)
OKLaboklab(71.8% -0.0338 0.1058)
OKLCHoklch(71.8% 0.111 107.7)
XYZxyz(32.4686, 37.6288, 13.3357)
Luminance0.3763 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA951 #5153AB
analogous
#AB7C51 #ABA951 #80AB51
triadic
#ABA951 #51ABA9 #A951AB
tetradic
#ABA951 #51AB7C #5153AB #AB5180
square
#ABA951 #51AB7C #5153AB #AB5180
split-complementary
#ABA951 #5180AB #7C51AB
monochromatic
#58572A #81803D #ABA951 #C0BE79 #D3D2A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABA951#FFFFFF#000000##000000
##ABA9511.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)
#B5A349
Deuteranopia (green-blind)
#B7A755
Tritanopia (blue-blind)
#B6A095
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #aba951;
/* rgb */ color: rgb(171, 169, 81);
/* oklch */ color: oklch(71.8% 0.111 107.7);
Tailwind
colors: {
  custom: {
    50: '#c6c284',
    500: '#aba951',
    950: '#000000',
  },
}
SCSS
$custom: #aba951;
$custom-light: #c6c284;
$custom-dark: #000000;
JSON
{
  "hex": "#aba951",
  "rgb": {
    "r": 171,
    "g": 169,
    "b": 81
  },
  "hsl": {
    "h": 58.667,
    "s": 35.714,
    "l": 49.412
  },
  "oklch": {
    "l": 0.71798,
    "c": 0.11105,
    "h": 107.7
  },
  "luminance": 0.37628
}

Semantic roles & 50–950 ramp

primary
#ABA951
secondary
#9798C1
accent
#5FCC5C
background
#FCFBF8
surface
#F8F7EF
border
#D1D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #ABA951

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

Preview Lab → · Contrast checker → · Palette generator →

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