#A7C221#A7C221

#A7C221 is a light, vivid yellow-green. Relative luminance 0.469; OKLCH L 76.7% C 0.173 H 119.6°. Best body text is #000000 at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#A7C221
RGBrgb(167, 194, 33)
HSLhsl(70, 71%, 45%)
HSVhsv(70, 83%, 76%)
CMYKcmyk(13.9%, 0%, 83%, 23.9%)
CIE-LABlab(74.13, -28.41, 69.51)
CIE-LCHlch(74.13, 75.09, 112.23°)
OKLaboklab(76.73% -0.0854 0.1505)
OKLCHoklch(76.73% 0.173 119.6)
XYZxyz(35.5034, 46.9091, 8.6226)
Luminance0.4691 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7C221 #3C21C2
analogous
#C28D21 #A7C221 #57C221
triadic
#A7C221 #21A7C2 #C221A7
tetradic
#A7C221 #21C28D #3C21C2 #C22157
square
#A7C221 #21C28D #3C21C2 #C22157
split-complementary
#A7C221 #2157C2 #8D21C2
monochromatic
#4D590F #7A8E18 #A7C221 #C4DF41 #D5E876

Accessibility & contrast

On white

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

On black

10.38
#A7C221 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7C221
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7C221#FFFFFF#000000##000000
##A7C2211.002.0210.3810.38
#FFFFFF2.021.0021.0021.00
#00000010.3821.001.001.00
##00000010.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7c221;
/* rgb */ color: rgb(167, 194, 33);
/* oklch */ color: oklch(76.7% 0.173 119.6);
Tailwind
colors: {
  custom: {
    50: '#c5d46d',
    500: '#a7c221',
    950: '#000000',
  },
}
SCSS
$custom: #a7c221;
$custom-light: #c5d46d;
$custom-dark: #000000;
JSON
{
  "hex": "#a7c221",
  "rgb": {
    "r": 167,
    "g": 194,
    "b": 33
  },
  "hsl": {
    "h": 70.062,
    "s": 70.925,
    "l": 44.51
  },
  "oklch": {
    "l": 0.76733,
    "c": 0.17305,
    "h": 119.6
  },
  "luminance": 0.46909
}

Semantic roles & 50–950 ramp

primary
#A7C221
secondary
#8070CF
accent
#3AEE58
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#131408
muted
#82827B

Preview Lab

Preview with #A7C221

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

Preview Lab → · Contrast checker → · Palette generator →

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