#ABA22C#ABA22C

#ABA22C 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#ABA22C
RGBrgb(171, 162, 44)
HSLhsl(56, 59%, 42%)
HSVhsv(56, 74%, 67%)
CMYKcmyk(0%, 5.3%, 74.3%, 32.9%)
CIE-LABlab(65.50, -10.22, 58.58)
CIE-LCHlch(65.50, 59.46, 99.89°)
OKLaboklab(69.91% -0.0343 0.129)
OKLCHoklch(69.91% 0.133 104.9)
XYZxyz(30.1708, 34.6816, 7.4874)
Luminance0.3468 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA22C #2C35AB
analogous
#AB632C #ABA22C #75AB2C
triadic
#ABA22C #2CABA2 #A22CAB
tetradic
#ABA22C #2CAB63 #2C35AB #AB2C75
square
#ABA22C #2CAB63 #2C35AB #AB2C75
split-complementary
#ABA22C #2C75AB #632CAB
monochromatic
#4A4613 #7A741F #ABA22C #CFC545 #DCD476

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABA22C#FFFFFF#000000##000000
##ABA22C1.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)
#B19C15
Deuteranopia (green-blind)
#B4A135
Tritanopia (blue-blind)
#B8978B
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #aba22c;
/* rgb */ color: rgb(171, 162, 44);
/* oklch */ color: oklch(69.9% 0.133 104.9);
Tailwind
colors: {
  custom: {
    50: '#c8bd6e',
    500: '#aba22c',
    950: '#000000',
  },
}
SCSS
$custom: #aba22c;
$custom-light: #c8bd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#aba22c",
  "rgb": {
    "r": 171,
    "g": 162,
    "b": 44
  },
  "hsl": {
    "h": 55.748,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.69909,
    "c": 0.13349,
    "h": 104.9
  },
  "luminance": 0.3468
}

Semantic roles & 50–950 ramp

primary
#ABA22C
secondary
#6F75C3
accent
#51E246
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141208
muted
#82817B

Preview Lab

Preview with #ABA22C

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

Preview Lab → · Contrast checker → · Palette generator →

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