#A7C922#A7C922

#A7C922 is a light, vivid yellow-green. Relative luminance 0.501; OKLCH L 78.3% C 0.180 H 121.5°. Best body text is #000000 at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#A7C922
RGBrgb(167, 201, 34)
HSLhsl(72, 71%, 46%)
HSVhsv(72, 83%, 79%)
CMYKcmyk(16.9%, 0%, 83.1%, 21.2%)
CIE-LABlab(76.13, -31.67, 71.00)
CIE-LCHlch(76.13, 77.74, 114.04°)
OKLaboklab(78.35% -0.0942 0.1539)
OKLCHoklch(78.35% 0.18 121.5)
XYZxyz(37.1124, 50.1043, 9.2290)
Luminance0.5010 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7C922 #4422C9
analogous
#C99722 #A7C922 #53C922
triadic
#A7C922 #22A7C9 #C922A7
tetradic
#A7C922 #22C997 #4422C9 #C92253
square
#A7C922 #22C997 #4422C9 #C92253
split-complementary
#A7C922 #2253C9 #9722C9
monochromatic
#506010 #7C9519 #A7C922 #C1E048 #D3E97C

Accessibility & contrast

On white

1.91
#A7C922 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.02
#A7C922 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7C922
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7C922#FFFFFF#000000##000000
##A7C9221.001.9111.0211.02
#FFFFFF1.911.0021.0021.00
#00000011.0221.001.001.00
##00000011.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BC00
Deuteranopia (green-blind)
#D1BC35
Tritanopia (blue-blind)
#B1BEAC
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #a7c922;
/* rgb */ color: rgb(167, 201, 34);
/* oklch */ color: oklch(78.3% 0.180 121.5);
Tailwind
colors: {
  custom: {
    50: '#c5d96f',
    500: '#a7c922',
    950: '#000000',
  },
}
SCSS
$custom: #a7c922;
$custom-light: #c5d96f;
$custom-dark: #000000;
JSON
{
  "hex": "#a7c922",
  "rgb": {
    "r": 167,
    "g": 201,
    "b": 34
  },
  "hsl": {
    "h": 72.216,
    "s": 71.064,
    "l": 46.078
  },
  "oklch": {
    "l": 0.7835,
    "c": 0.18043,
    "h": 121.5
  },
  "luminance": 0.50104
}

Semantic roles & 50–950 ramp

primary
#A7C922
secondary
#32246B
accent
#3AEE5F
background
#FEFEFB
surface
#FAFBF1
border
#D3D4CB
text
#131408
muted
#83837D

Preview Lab

Preview with #A7C922

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

Preview Lab → · Contrast checker → · Palette generator →

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