#ABA162#ABA162

#ABA162 is a light, moderate yellow. Relative luminance 0.350; OKLCH L 70.3% C 0.084 H 100.4°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#ABA162
RGBrgb(171, 161, 98)
HSLhsl(52, 30%, 53%)
HSVhsv(52, 43%, 67%)
CMYKcmyk(0%, 5.8%, 42.7%, 32.9%)
CIE-LABlab(65.77, -5.56, 34.05)
CIE-LCHlch(65.77, 34.50, 99.27°)
OKLaboklab(70.3% -0.0152 0.0828)
OKLCHoklch(70.3% 0.084 100.4)
XYZxyz(31.7447, 35.0305, 16.6423)
Luminance0.3503 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA162 #626CAB
analogous
#AB7D62 #ABA162 #90AB62
triadic
#ABA162 #62ABA1 #A162AB
tetradic
#ABA162 #62AB7D #626CAB #AB6290
square
#ABA162 #62AB7D #626CAB #AB6290
split-complementary
#ABA162 #6290AB #7D62AB
monochromatic
#605933 #877F48 #ABA162 #C0B98A #D6D1B2

Accessibility & contrast

On white

2.62
#ABA162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#ABA162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA162
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA162#FFFFFF#000000##000000
##ABA1621.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9D5D
Deuteranopia (green-blind)
#AFA265
Tritanopia (blue-blind)
#B59992
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #aba162;
/* rgb */ color: rgb(171, 161, 98);
/* oklch */ color: oklch(70.3% 0.084 100.4);
Tailwind
colors: {
  custom: {
    50: '#c5bc8f',
    500: '#aba162',
    950: '#000000',
  },
}
SCSS
$custom: #aba162;
$custom-light: #c5bc8f;
$custom-dark: #000000;
JSON
{
  "hex": "#aba162",
  "rgb": {
    "r": 171,
    "g": 161,
    "b": 98
  },
  "hsl": {
    "h": 51.781,
    "s": 30.29,
    "l": 52.745
  },
  "oklch": {
    "l": 0.70301,
    "c": 0.08413,
    "h": 100.4
  },
  "luminance": 0.3503
}

Semantic roles & 50–950 ramp

primary
#ABA162
secondary
#A5A9C4
accent
#6FC761
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #ABA162

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

Preview Lab → · Contrast checker → · Palette generator →

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