#ABA22D#ABA22D

#ABA22D is a light, vivid yellow. Relative luminance 0.347; OKLCH L 69.9% C 0.133 H 104.9°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#ABA22D
RGBrgb(171, 162, 45)
HSLhsl(56, 58%, 42%)
HSVhsv(56, 74%, 67%)
CMYKcmyk(0%, 5.3%, 73.7%, 32.9%)
CIE-LABlab(65.51, -10.17, 58.23)
CIE-LCHlch(65.51, 59.11, 99.91°)
OKLaboklab(69.92% -0.0341 0.1284)
OKLCHoklch(69.92% 0.133 104.9)
XYZxyz(30.1898, 34.6892, 7.5876)
Luminance0.3469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA22D #2D36AB
analogous
#AB632D #ABA22D #75AB2D
triadic
#ABA22D #2DABA2 #A22DAB
tetradic
#ABA22D #2DAB63 #2D36AB #AB2D75
square
#ABA22D #2DAB63 #2D36AB #AB2D75
split-complementary
#ABA22D #2D75AB #632DAB
monochromatic
#4A4614 #7B7420 #ABA22D #CEC547 #DBD477

Accessibility & contrast

On white

2.65
#ABA22D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#ABA22D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA22D
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA22D#FFFFFF#000000##000000
##ABA22D1.002.657.947.94
#FFFFFF2.651.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C17
Deuteranopia (green-blind)
#B4A135
Tritanopia (blue-blind)
#B8978B
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #aba22d;
/* rgb */ color: rgb(171, 162, 45);
/* oklch */ color: oklch(69.9% 0.133 104.9);
Tailwind
colors: {
  custom: {
    50: '#c8bd6f',
    500: '#aba22d',
    950: '#000000',
  },
}
SCSS
$custom: #aba22d;
$custom-light: #c8bd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#aba22d",
  "rgb": {
    "r": 171,
    "g": 162,
    "b": 45
  },
  "hsl": {
    "h": 55.714,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.69915,
    "c": 0.13288,
    "h": 104.9
  },
  "luminance": 0.34688
}

Semantic roles & 50–950 ramp

primary
#ABA22D
secondary
#7177C3
accent
#51E246
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141208
muted
#82817B

Preview Lab

Preview with #ABA22D

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

Preview Lab → · Contrast checker → · Palette generator →

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