#ABA962#ABA962

#ABA962 is a light, moderate yellow. Relative luminance 0.379; OKLCH L 72.0% C 0.093 H 107.1°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#ABA962
RGBrgb(171, 169, 98)
HSLhsl(58, 30%, 53%)
HSVhsv(58, 43%, 67%)
CMYKcmyk(0%, 1.2%, 42.7%, 32.9%)
CIE-LABlab(67.96, -9.81, 36.80)
CIE-LCHlch(67.96, 38.09, 104.92°)
OKLaboklab(72.04% -0.0274 0.089)
OKLCHoklch(72.04% 0.093 107.1)
XYZxyz(33.1877, 37.9165, 17.1233)
Luminance0.3792 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA962 #6264AB
analogous
#AB8462 #ABA962 #88AB62
triadic
#ABA962 #62ABA9 #A962AB
tetradic
#ABA962 #62AB84 #6264AB #AB6288
square
#ABA962 #62AB84 #6264AB #AB6288
split-complementary
#ABA962 #6288AB #8462AB
monochromatic
#605E33 #878648 #ABA962 #C0BF8A #D6D5B2

Accessibility & contrast

On white

2.45
#ABA962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#ABA962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA962
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA962#FFFFFF#000000##000000
##ABA9621.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A45C
Deuteranopia (green-blind)
#B5A765
Tritanopia (blue-blind)
#B4A198
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #aba962;
/* rgb */ color: rgb(171, 169, 98);
/* oklch */ color: oklch(72.0% 0.093 107.1);
Tailwind
colors: {
  custom: {
    50: '#c5c290',
    500: '#aba962',
    950: '#000000',
  },
}
SCSS
$custom: #aba962;
$custom-light: #c5c290;
$custom-dark: #000000;
JSON
{
  "hex": "#aba962",
  "rgb": {
    "r": 171,
    "g": 169,
    "b": 98
  },
  "hsl": {
    "h": 58.356,
    "s": 30.29,
    "l": 52.745
  },
  "oklch": {
    "l": 0.72036,
    "c": 0.09307,
    "h": 107.1
  },
  "luminance": 0.37916
}

Semantic roles & 50–950 ramp

primary
#ABA962
secondary
#A5A5C4
accent
#64C761
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #ABA962

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

Preview Lab → · Contrast checker → · Palette generator →

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