#AAC21F#AAC21F

#AAC21F is a light, vivid yellow. Relative luminance 0.472; OKLCH L 76.9% C 0.173 H 118.5°. Best body text is #000000 at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#AAC21F
RGBrgb(170, 194, 31)
HSLhsl(69, 72%, 44%)
HSVhsv(69, 84%, 76%)
CMYKcmyk(12.4%, 0%, 84%, 23.9%)
CIE-LABlab(74.34, -27.22, 70.24)
CIE-LCHlch(74.34, 75.33, 111.18°)
OKLaboklab(76.95% -0.0824 0.1517)
OKLCHoklch(76.95% 0.173 118.5)
XYZxyz(36.1176, 47.2289, 8.5095)
Luminance0.4723 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAC21F #371FC2
analogous
#C2881F #AAC21F #59C21F
triadic
#AAC21F #1FAAC2 #C21FAA
tetradic
#AAC21F #1FC288 #371FC2 #C21F59
square
#AAC21F #1FC288 #371FC2 #C21F59
split-complementary
#AAC21F #1F59C2 #881FC2
monochromatic
#4E580E #7C8D17 #AAC21F #C8E03E #D7E973

Accessibility & contrast

On white

2.01
#AAC21F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.45
#AAC21F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAC21F
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAC21F#FFFFFF#000000##000000
##AAC21F1.002.0110.4510.45
#FFFFFF2.011.0021.0021.00
#00000010.4521.001.001.00
##00000010.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB700
Deuteranopia (green-blind)
#CDB732
Tritanopia (blue-blind)
#B5B7A6
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #aac21f;
/* rgb */ color: rgb(170, 194, 31);
/* oklch */ color: oklch(76.9% 0.173 118.5);
Tailwind
colors: {
  custom: {
    50: '#c7d46d',
    500: '#aac21f',
    950: '#000000',
  },
}
SCSS
$custom: #aac21f;
$custom-light: #c7d46d;
$custom-dark: #000000;
JSON
{
  "hex": "#aac21f",
  "rgb": {
    "r": 170,
    "g": 194,
    "b": 31
  },
  "hsl": {
    "h": 68.834,
    "s": 72.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.76949,
    "c": 0.17261,
    "h": 118.5
  },
  "luminance": 0.47229
}

Semantic roles & 50–950 ramp

primary
#AAC21F
secondary
#7C6DCF
accent
#39EF54
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141408
muted
#82827B

Preview Lab

Preview with #AAC21F

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

Preview Lab → · Contrast checker → · Palette generator →

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