#A7C22F#A7C22F

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

Color values

HEX#A7C22F
RGBrgb(167, 194, 47)
HSLhsl(71, 61%, 47%)
HSVhsv(71, 76%, 76%)
CMYKcmyk(13.9%, 0%, 75.8%, 23.9%)
CIE-LABlab(74.19, -27.86, 65.64)
CIE-LCHlch(74.19, 71.31, 113.00°)
OKLaboklab(76.8% -0.0829 0.1446)
OKLCHoklch(76.8% 0.167 119.8)
XYZxyz(35.7419, 47.0045, 9.8786)
Luminance0.4700 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7C22F #4A2FC2
analogous
#C2932F #A7C22F #5EC22F
triadic
#A7C22F #2FA7C2 #C22FA7
tetradic
#A7C22F #2FC293 #4A2FC2 #C22F5E
square
#A7C22F #2FC293 #4A2FC2 #C22F5E
split-complementary
#A7C22F #2F5EC2 #932FC2
monochromatic
#525F17 #7D9123 #A7C22F #BFD658 #D2E289

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7C22F#FFFFFF#000000##000000
##A7C22F1.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)
#CFB708
Deuteranopia (green-blind)
#CBB73D
Tritanopia (blue-blind)
#B1B7A6
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #a7c22f;
/* rgb */ color: rgb(167, 194, 47);
/* oklch */ color: oklch(76.8% 0.167 119.8);
Tailwind
colors: {
  custom: {
    50: '#c5d473',
    500: '#a7c22f',
    950: '#000000',
  },
}
SCSS
$custom: #a7c22f;
$custom-light: #c5d473;
$custom-dark: #000000;
JSON
{
  "hex": "#a7c22f",
  "rgb": {
    "r": 167,
    "g": 194,
    "b": 47
  },
  "hsl": {
    "h": 71.02,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.76802,
    "c": 0.16668,
    "h": 119.8
  },
  "luminance": 0.47004
}

Semantic roles & 50–950 ramp

primary
#A7C22F
secondary
#8E81CC
accent
#44E461
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131409
muted
#82837B

Preview Lab

Preview with #A7C22F

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

Preview Lab → · Contrast checker → · Palette generator →

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