#ABA151#ABA151

#ABA151 is a light, moderate yellow. Relative luminance 0.347; OKLCH L 70.0% C 0.103 H 102.2°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#ABA151
RGBrgb(171, 161, 81)
HSLhsl(53, 36%, 49%)
HSVhsv(53, 53%, 67%)
CMYKcmyk(0%, 5.8%, 52.6%, 32.9%)
CIE-LABlab(65.55, -7.23, 42.49)
CIE-LCHlch(65.55, 43.10, 99.66°)
OKLaboklab(70.05% -0.0217 0.1002)
OKLCHoklch(70.05% 0.103 102.2)
XYZxyz(31.0256, 34.7428, 12.8547)
Luminance0.3474 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA151 #515BAB
analogous
#AB7451 #ABA151 #88AB51
triadic
#ABA151 #51ABA1 #A151AB
tetradic
#ABA151 #51AB74 #515BAB #AB5188
square
#ABA151 #51AB74 #515BAB #AB5188
split-complementary
#ABA151 #5188AB #7451AB
monochromatic
#58532A #817A3D #ABA151 #C0B879 #D3CEA3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABA151#FFFFFF#000000##000000
##ABA1511.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)
#AD9D4A
Deuteranopia (green-blind)
#B1A155
Tritanopia (blue-blind)
#B6988F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #aba151;
/* rgb */ color: rgb(171, 161, 81);
/* oklch */ color: oklch(70.0% 0.103 102.2);
Tailwind
colors: {
  custom: {
    50: '#c6bc84',
    500: '#aba151',
    950: '#000000',
  },
}
SCSS
$custom: #aba151;
$custom-light: #c6bc84;
$custom-dark: #000000;
JSON
{
  "hex": "#aba151",
  "rgb": {
    "r": 171,
    "g": 161,
    "b": 81
  },
  "hsl": {
    "h": 53.333,
    "s": 35.714,
    "l": 49.412
  },
  "oklch": {
    "l": 0.7005,
    "c": 0.10251,
    "h": 102.2
  },
  "luminance": 0.34742
}

Semantic roles & 50–950 ramp

primary
#ABA151
secondary
#979CC1
accent
#68CC5C
background
#FCFBF8
surface
#F8F6EF
border
#D1D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #ABA151

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

Preview Lab → · Contrast checker → · Palette generator →

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