#AAB23A#AAB23A

#AAB23A is a light, vivid yellow. Relative luminance 0.407; OKLCH L 73.5% C 0.141 H 113.1°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#AAB23A
RGBrgb(170, 178, 58)
HSLhsl(64, 51%, 46%)
HSVhsv(64, 67%, 70%)
CMYKcmyk(4.5%, 0%, 67.4%, 30.2%)
CIE-LABlab(69.96, -18.17, 57.66)
CIE-LCHlch(69.96, 60.45, 107.49°)
OKLaboklab(73.48% -0.0552 0.1295)
OKLCHoklch(73.48% 0.141 113.1)
XYZxyz(33.2626, 40.6930, 10.1045)
Luminance0.4069 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB23A #423AB2
analogous
#B27E3A #AAB23A #6EB23A
triadic
#AAB23A #3AAAB2 #B23AAA
tetradic
#AAB23A #3AB27E #423AB2 #B23A6E
square
#AAB23A #3AB27E #423AB2 #B23A6E
split-complementary
#AAB23A #3A6EB2 #7E3AB2
monochromatic
#52561C #7E842B #AAB23A #C3CB5F #D5DA8D

Accessibility & contrast

On white

2.30
#AAB23A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#AAB23A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB23A
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB23A#FFFFFF#000000##000000
##AAB23A1.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA28
Deuteranopia (green-blind)
#BFAC43
Tritanopia (blue-blind)
#B5A89A
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #aab23a;
/* rgb */ color: rgb(170, 178, 58);
/* oklch */ color: oklch(73.5% 0.141 113.1);
Tailwind
colors: {
  custom: {
    50: '#c6c877',
    500: '#aab23a',
    950: '#000000',
  },
}
SCSS
$custom: #aab23a;
$custom-light: #c6c877;
$custom-dark: #000000;
JSON
{
  "hex": "#aab23a",
  "rgb": {
    "r": 170,
    "g": 178,
    "b": 58
  },
  "hsl": {
    "h": 64,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.73479,
    "c": 0.1408,
    "h": 113.1
  },
  "luminance": 0.40692
}

Semantic roles & 50–950 ramp

primary
#AAB23A
secondary
#8883C4
accent
#4DDA57
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #AAB23A

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

Preview Lab → · Contrast checker → · Palette generator →

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