#ABA22F#ABA22F

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

Color values

HEX#ABA22F
RGBrgb(171, 162, 47)
HSLhsl(56, 57%, 43%)
HSVhsv(56, 73%, 67%)
CMYKcmyk(0%, 5.3%, 72.5%, 32.9%)
CIE-LABlab(65.52, -10.07, 57.50)
CIE-LCHlch(65.52, 58.38, 99.94°)
OKLaboklab(69.93% -0.0336 0.1273)
OKLCHoklch(69.93% 0.132 104.8)
XYZxyz(30.2293, 34.7050, 7.7952)
Luminance0.3470 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA22F #2F38AB
analogous
#AB642F #ABA22F #76AB2F
triadic
#ABA22F #2FABA2 #A22FAB
tetradic
#ABA22F #2FAB64 #2F38AB #AB2F76
square
#ABA22F #2FAB64 #2F38AB #AB2F76
split-complementary
#ABA22F #2F76AB #642FAB
monochromatic
#4B4715 #7B7522 #ABA22F #CDC44A #DAD37A

Accessibility & contrast

On white

2.64
#ABA22F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABA22F#FFFFFF#000000##000000
##ABA22F1.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C1B
Deuteranopia (green-blind)
#B4A137
Tritanopia (blue-blind)
#B8978C
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #aba22f;
/* rgb */ color: rgb(171, 162, 47);
/* oklch */ color: oklch(69.9% 0.132 104.8);
Tailwind
colors: {
  custom: {
    50: '#c7bd70',
    500: '#aba22f',
    950: '#000000',
  },
}
SCSS
$custom: #aba22f;
$custom-light: #c7bd70;
$custom-dark: #000000;
JSON
{
  "hex": "#aba22f",
  "rgb": {
    "r": 171,
    "g": 162,
    "b": 47
  },
  "hsl": {
    "h": 55.645,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.69929,
    "c": 0.13165,
    "h": 104.8
  },
  "luminance": 0.34704
}

Semantic roles & 50–950 ramp

primary
#ABA22F
secondary
#7379C3
accent
#53E048
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #ABA22F

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

Preview Lab → · Contrast checker → · Palette generator →

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