#A7C22D#A7C22D

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

Color values

HEX#A7C22D
RGBrgb(167, 194, 45)
HSLhsl(71, 62%, 47%)
HSVhsv(71, 77%, 76%)
CMYKcmyk(13.9%, 0%, 76.8%, 23.9%)
CIE-LABlab(74.18, -27.95, 66.25)
CIE-LCHlch(74.18, 71.91, 112.88°)
OKLaboklab(76.79% -0.0833 0.1456)
OKLCHoklch(76.79% 0.168 119.8)
XYZxyz(35.7025, 46.9887, 9.6710)
Luminance0.4699 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7C22D #482DC2
analogous
#C2922D #A7C22D #5DC22D
triadic
#A7C22D #2DA7C2 #C22DA7
tetradic
#A7C22D #2DC292 #482DC2 #C22D5D
square
#A7C22D #2DC292 #482DC2 #C22D5D
split-complementary
#A7C22D #2D5DC2 #922DC2
monochromatic
#515F16 #7C9021 #A7C22D #C0D755 #D2E386

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7C22D#FFFFFF#000000##000000
##A7C22D1.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)
#CFB700
Deuteranopia (green-blind)
#CBB73B
Tritanopia (blue-blind)
#B1B7A6
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #a7c22d;
/* rgb */ color: rgb(167, 194, 45);
/* oklch */ color: oklch(76.8% 0.168 119.8);
Tailwind
colors: {
  custom: {
    50: '#c5d472',
    500: '#a7c22d',
    950: '#000000',
  },
}
SCSS
$custom: #a7c22d;
$custom-light: #c5d472;
$custom-dark: #000000;
JSON
{
  "hex": "#a7c22d",
  "rgb": {
    "r": 167,
    "g": 194,
    "b": 45
  },
  "hsl": {
    "h": 70.872,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.7679,
    "c": 0.16772,
    "h": 119.8
  },
  "luminance": 0.46989
}

Semantic roles & 50–950 ramp

primary
#A7C22D
secondary
#8C7ECD
accent
#42E560
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131409
muted
#82837B

Preview Lab

Preview with #A7C22D

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

Preview Lab → · Contrast checker → · Palette generator →

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