#ABA22E#ABA22E

#ABA22E 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#ABA22E
RGBrgb(171, 162, 46)
HSLhsl(56, 58%, 43%)
HSVhsv(56, 73%, 67%)
CMYKcmyk(0%, 5.3%, 73.1%, 32.9%)
CIE-LABlab(65.51, -10.12, 57.87)
CIE-LCHlch(65.51, 58.75, 99.92°)
OKLaboklab(69.92% -0.0339 0.1279)
OKLCHoklch(69.92% 0.132 104.8)
XYZxyz(30.2093, 34.6970, 7.6902)
Luminance0.3470 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA22E #2E37AB
analogous
#AB632E #ABA22E #75AB2E
triadic
#ABA22E #2EABA2 #A22EAB
tetradic
#ABA22E #2EAB63 #2E37AB #AB2E75
square
#ABA22E #2EAB63 #2E37AB #AB2E75
split-complementary
#ABA22E #2E75AB #632EAB
monochromatic
#4B4714 #7B7421 #ABA22E #CEC448 #DBD479

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABA22E#FFFFFF#000000##000000
##ABA22E1.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)
#B09C19
Deuteranopia (green-blind)
#B4A136
Tritanopia (blue-blind)
#B8978B
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #aba22e;
/* rgb */ color: rgb(171, 162, 46);
/* oklch */ color: oklch(69.9% 0.132 104.8);
Tailwind
colors: {
  custom: {
    50: '#c8bd6f',
    500: '#aba22e',
    950: '#000000',
  },
}
SCSS
$custom: #aba22e;
$custom-light: #c8bd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#aba22e",
  "rgb": {
    "r": 171,
    "g": 162,
    "b": 46
  },
  "hsl": {
    "h": 55.68,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.69922,
    "c": 0.13227,
    "h": 104.8
  },
  "luminance": 0.34696
}

Semantic roles & 50–950 ramp

primary
#ABA22E
secondary
#7278C3
accent
#52E147
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #ABA22E

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

Preview Lab → · Contrast checker → · Palette generator →

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