#ABA462#ABA462

#ABA462 is a light, moderate yellow. Relative luminance 0.361; OKLCH L 70.9% C 0.087 H 103.1°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#ABA462
RGBrgb(171, 164, 98)
HSLhsl(54, 30%, 53%)
HSVhsv(54, 43%, 67%)
CMYKcmyk(0%, 4.1%, 42.7%, 32.9%)
CIE-LABlab(66.59, -7.16, 35.09)
CIE-LCHlch(66.59, 35.81, 101.54°)
OKLaboklab(70.95% -0.0198 0.0851)
OKLCHoklch(70.95% 0.087 103.1)
XYZxyz(32.2753, 36.0916, 16.8191)
Luminance0.3609 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA462 #6269AB
analogous
#AB8062 #ABA462 #8DAB62
triadic
#ABA462 #62ABA4 #A462AB
tetradic
#ABA462 #62AB80 #6269AB #AB628D
square
#ABA462 #62AB80 #6269AB #AB628D
split-complementary
#ABA462 #628DAB #8062AB
monochromatic
#605B33 #878148 #ABA462 #C0BB8A #D6D2B2

Accessibility & contrast

On white

2.56
#ABA462 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#ABA462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA462
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA462#FFFFFF#000000##000000
##ABA4621.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA05D
Deuteranopia (green-blind)
#B1A465
Tritanopia (blue-blind)
#B59C94
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #aba462;
/* rgb */ color: rgb(171, 164, 98);
/* oklch */ color: oklch(70.9% 0.087 103.1);
Tailwind
colors: {
  custom: {
    50: '#c5be90',
    500: '#aba462',
    950: '#000000',
  },
}
SCSS
$custom: #aba462;
$custom-light: #c5be90;
$custom-dark: #000000;
JSON
{
  "hex": "#aba462",
  "rgb": {
    "r": 171,
    "g": 164,
    "b": 98
  },
  "hsl": {
    "h": 54.247,
    "s": 30.29,
    "l": 52.745
  },
  "oklch": {
    "l": 0.70949,
    "c": 0.08735,
    "h": 103.1
  },
  "luminance": 0.36091
}

Semantic roles & 50–950 ramp

primary
#ABA462
secondary
#A5A8C4
accent
#6BC761
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #ABA462

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

Preview Lab → · Contrast checker → · Palette generator →

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