#A9C21F#A9C21F

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

Color values

HEX#A9C21F
RGBrgb(169, 194, 31)
HSLhsl(69, 72%, 44%)
HSVhsv(69, 84%, 76%)
CMYKcmyk(12.9%, 0%, 84%, 23.9%)
CIE-LABlab(74.27, -27.64, 70.15)
CIE-LCHlch(74.27, 75.40, 111.50°)
OKLaboklab(76.87% -0.0835 0.1515)
OKLCHoklch(76.87% 0.173 118.9)
XYZxyz(35.9022, 47.1178, 8.4994)
Luminance0.4712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9C21F #381FC2
analogous
#C2891F #A9C21F #58C21F
triadic
#A9C21F #1FA9C2 #C21FA9
tetradic
#A9C21F #1FC289 #381FC2 #C21F58
square
#A9C21F #1FC289 #381FC2 #C21F58
split-complementary
#A9C21F #1F58C2 #891FC2
monochromatic
#4D580E #7B8D17 #A9C21F #C7E03E #D7E973

Accessibility & contrast

On white

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

On black

10.42
#A9C21F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A9C21F
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9C21F#FFFFFF#000000##000000
##A9C21F1.002.0110.4210.42
#FFFFFF2.011.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a9c21f;
/* rgb */ color: rgb(169, 194, 31);
/* oklch */ color: oklch(76.9% 0.173 118.9);
Tailwind
colors: {
  custom: {
    50: '#c7d46d',
    500: '#a9c21f',
    950: '#000000',
  },
}
SCSS
$custom: #a9c21f;
$custom-light: #c7d46d;
$custom-dark: #000000;
JSON
{
  "hex": "#a9c21f",
  "rgb": {
    "r": 169,
    "g": 194,
    "b": 31
  },
  "hsl": {
    "h": 69.202,
    "s": 72.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.76874,
    "c": 0.173,
    "h": 118.9
  },
  "luminance": 0.47118
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A9C21F

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

Preview Lab → · Contrast checker → · Palette generator →

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