#ABA229#ABA229

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

Color values

HEX#ABA229
RGBrgb(171, 162, 41)
HSLhsl(56, 61%, 42%)
HSVhsv(56, 76%, 67%)
CMYKcmyk(0%, 5.3%, 76%, 32.9%)
CIE-LABlab(65.48, -10.35, 59.61)
CIE-LCHlch(65.48, 60.50, 99.85°)
OKLaboklab(69.89% -0.035 0.1306)
OKLCHoklch(69.89% 0.135 105)
XYZxyz(30.1165, 34.6599, 7.2010)
Luminance0.3466 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA229 #2932AB
analogous
#AB6129 #ABA229 #73AB29
triadic
#ABA229 #29ABA2 #A229AB
tetradic
#ABA229 #29AB61 #2932AB #AB2973
square
#ABA229 #29AB61 #2932AB #AB2973
split-complementary
#ABA229 #2973AB #6129AB
monochromatic
#484411 #7A731D #ABA229 #D1C740 #DDD671

Accessibility & contrast

On white

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

On black

7.93
#ABA229 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA229
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA229#FFFFFF#000000##000000
##ABA2291.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aba229;
/* rgb */ color: rgb(171, 162, 41);
/* oklch */ color: oklch(69.9% 0.135 105.0);
Tailwind
colors: {
  custom: {
    50: '#c8bd6d',
    500: '#aba229',
    950: '#000000',
  },
}
SCSS
$custom: #aba229;
$custom-light: #c8bd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#aba229",
  "rgb": {
    "r": 171,
    "g": 162,
    "b": 41
  },
  "hsl": {
    "h": 55.846,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.6989,
    "c": 0.13522,
    "h": 105
  },
  "luminance": 0.34659
}

Semantic roles & 50–950 ramp

primary
#ABA229
secondary
#6C72C4
accent
#4FE443
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141207
muted
#82817A

Preview Lab

Preview with #ABA229

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

Preview Lab → · Contrast checker → · Palette generator →

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