#ABA256#ABA256

#ABA256 is a light, moderate yellow. Relative luminance 0.352; OKLCH L 70.3% C 0.098 H 102.6°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#ABA256
RGBrgb(171, 162, 86)
HSLhsl(54, 34%, 50%)
HSVhsv(54, 50%, 67%)
CMYKcmyk(0%, 5.3%, 49.7%, 32.9%)
CIE-LABlab(65.88, -7.31, 40.38)
CIE-LCHlch(65.88, 41.04, 100.26°)
OKLaboklab(70.34% -0.0214 0.096)
OKLCHoklch(70.34% 0.098 102.6)
XYZxyz(31.3955, 35.1715, 13.9373)
Luminance0.3517 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA256 #565FAB
analogous
#AB7756 #ABA256 #89AB56
triadic
#ABA256 #56ABA2 #A256AB
tetradic
#ABA256 #56AB77 #565FAB #AB5689
square
#ABA256 #56AB77 #565FAB #AB5689
split-complementary
#ABA256 #5689AB #7756AB
monochromatic
#5A552D #837C41 #ABA256 #BFB87F #D4CFA8

Accessibility & contrast

On white

2.61
#ABA256 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#ABA256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA256
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA256#FFFFFF#000000##000000
##ABA2561.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9E4F
Deuteranopia (green-blind)
#B1A259
Tritanopia (blue-blind)
#B69990
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #aba256;
/* rgb */ color: rgb(171, 162, 86);
/* oklch */ color: oklch(70.3% 0.098 102.6);
Tailwind
colors: {
  custom: {
    50: '#c6bd87',
    500: '#aba256',
    950: '#000000',
  },
}
SCSS
$custom: #aba256;
$custom-light: #c6bd87;
$custom-dark: #000000;
JSON
{
  "hex": "#aba256",
  "rgb": {
    "r": 171,
    "g": 162,
    "b": 86
  },
  "hsl": {
    "h": 53.647,
    "s": 33.597,
    "l": 50.392
  },
  "oklch": {
    "l": 0.70335,
    "c": 0.09838,
    "h": 102.6
  },
  "luminance": 0.3517
}

Semantic roles & 50–950 ramp

primary
#ABA256
secondary
#9B9FC1
accent
#69CA5E
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120B
muted
#82817C

Preview Lab

Preview with #ABA256

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

Preview Lab → · Contrast checker → · Palette generator →

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