#AAB22F#AAB22F

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

Color values

HEX#AAB22F
RGBrgb(170, 178, 47)
HSLhsl(64, 58%, 44%)
HSVhsv(64, 74%, 70%)
CMYKcmyk(4.5%, 0%, 73.6%, 30.2%)
CIE-LABlab(69.89, -18.75, 61.66)
CIE-LCHlch(69.89, 64.45, 106.91°)
OKLaboklab(73.4% -0.0579 0.1361)
OKLCHoklch(73.4% 0.148 113)
XYZxyz(33.0121, 40.5928, 8.7850)
Luminance0.4059 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB22F #372FB2
analogous
#B2792F #AAB22F #69B22F
triadic
#AAB22F #2FAAB2 #B22FAA
tetradic
#AAB22F #2FB279 #372FB2 #B22F69
square
#AAB22F #2FB279 #372FB2 #B22F69
split-complementary
#AAB22F #2F69B2 #792FB2
monochromatic
#4E5115 #7C8222 #AAB22F #C8D04E #D7DD7E

Accessibility & contrast

On white

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

On black

9.12
#AAB22F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB22F
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB22F#FFFFFF#000000##000000
##AAB22F1.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aab22f;
/* rgb */ color: rgb(170, 178, 47);
/* oklch */ color: oklch(73.4% 0.148 113.0);
Tailwind
colors: {
  custom: {
    50: '#c7c871',
    500: '#aab22f',
    950: '#000000',
  },
}
SCSS
$custom: #aab22f;
$custom-light: #c7c871;
$custom-dark: #000000;
JSON
{
  "hex": "#aab22f",
  "rgb": {
    "r": 170,
    "g": 178,
    "b": 47
  },
  "hsl": {
    "h": 63.664,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.734,
    "c": 0.1479,
    "h": 113
  },
  "luminance": 0.40592
}

Semantic roles & 50–950 ramp

primary
#AAB22F
secondary
#7C77C6
accent
#46E150
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #AAB22F

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

Preview Lab → · Contrast checker → · Palette generator →

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