#AAB229#AAB229

#AAB229 is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.4% C 0.151 H 113.0°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#AAB229
RGBrgb(170, 178, 41)
HSLhsl(64, 63%, 43%)
HSVhsv(64, 77%, 70%)
CMYKcmyk(4.5%, 0%, 77%, 30.2%)
CIE-LABlab(69.86, -19.01, 63.60)
CIE-LCHlch(69.86, 66.38, 106.64°)
OKLaboklab(73.36% -0.0591 0.1392)
OKLCHoklch(73.36% 0.151 113)
XYZxyz(32.8993, 40.5477, 8.1908)
Luminance0.4055 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB229 #3129B2
analogous
#B27629 #AAB229 #65B229
triadic
#AAB229 #29AAB2 #B229AA
tetradic
#AAB229 #29B276 #3129B2 #B22965
square
#AAB229 #29B276 #3129B2 #B22965
split-complementary
#AAB229 #2965B2 #7629B2
monochromatic
#4B4F12 #7A801E #AAB229 #CCD444 #D9DF76

Accessibility & contrast

On white

2.31
#AAB229 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.11
#AAB229 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB229
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB229#FFFFFF#000000##000000
##AAB2291.002.319.119.11
#FFFFFF2.311.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A901
Deuteranopia (green-blind)
#C0AC35
Tritanopia (blue-blind)
#B6A799
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #aab229;
/* rgb */ color: rgb(170, 178, 41);
/* oklch */ color: oklch(73.4% 0.151 113.0);
Tailwind
colors: {
  custom: {
    50: '#c7c86f',
    500: '#aab229',
    950: '#000000',
  },
}
SCSS
$custom: #aab229;
$custom-light: #c7c86f;
$custom-dark: #000000;
JSON
{
  "hex": "#aab229",
  "rgb": {
    "r": 170,
    "g": 178,
    "b": 41
  },
  "hsl": {
    "h": 63.504,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.73364,
    "c": 0.15118,
    "h": 113
  },
  "luminance": 0.40547
}

Semantic roles & 50–950 ramp

primary
#AAB229
secondary
#7570C7
accent
#42E64C
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #AAB229

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

Preview Lab → · Contrast checker → · Palette generator →

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