#A8C221#A8C221

#A8C221 is a light, vivid yellow. Relative luminance 0.470; OKLCH L 76.8% C 0.173 H 119.2°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#A8C221
RGBrgb(168, 194, 33)
HSLhsl(70, 71%, 45%)
HSVhsv(70, 83%, 76%)
CMYKcmyk(13.4%, 0%, 83%, 23.9%)
CIE-LABlab(74.20, -27.99, 69.60)
CIE-LCHlch(74.20, 75.02, 111.91°)
OKLaboklab(76.81% -0.0843 0.1507)
OKLCHoklch(76.81% 0.173 119.2)
XYZxyz(35.7156, 47.0184, 8.6325)
Luminance0.4702 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8C221 #3B21C2
analogous
#C28B21 #A8C221 #58C221
triadic
#A8C221 #21A8C2 #C221A8
tetradic
#A8C221 #21C28B #3B21C2 #C22158
square
#A8C221 #21C28B #3B21C2 #C22158
split-complementary
#A8C221 #2158C2 #8B21C2
monochromatic
#4D590F #7B8E18 #A8C221 #C5DF41 #D5E876

Accessibility & contrast

On white

2.02
#A8C221 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.40
#A8C221 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8C221
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8C221#FFFFFF#000000##000000
##A8C2211.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB600
Deuteranopia (green-blind)
#CCB733
Tritanopia (blue-blind)
#B2B7A6
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #a8c221;
/* rgb */ color: rgb(168, 194, 33);
/* oklch */ color: oklch(76.8% 0.173 119.2);
Tailwind
colors: {
  custom: {
    50: '#c6d46d',
    500: '#a8c221',
    950: '#000000',
  },
}
SCSS
$custom: #a8c221;
$custom-light: #c6d46d;
$custom-dark: #000000;
JSON
{
  "hex": "#a8c221",
  "rgb": {
    "r": 168,
    "g": 194,
    "b": 33
  },
  "hsl": {
    "h": 69.689,
    "s": 70.925,
    "l": 44.51
  },
  "oklch": {
    "l": 0.76807,
    "c": 0.17265,
    "h": 119.2
  },
  "luminance": 0.47018
}

Semantic roles & 50–950 ramp

primary
#A8C221
secondary
#7F70CF
accent
#3AEE57
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#131408
muted
#82827B

Preview Lab

Preview with #A8C221

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

Preview Lab → · Contrast checker → · Palette generator →

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