#A8C22F#A8C22F

#A8C22F is a light, vivid yellow-green. Relative luminance 0.471; OKLCH L 76.9% C 0.166 H 119.5°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#A8C22F
RGBrgb(168, 194, 47)
HSLhsl(71, 61%, 47%)
HSVhsv(71, 76%, 76%)
CMYKcmyk(13.4%, 0%, 75.8%, 23.9%)
CIE-LABlab(74.26, -27.45, 65.73)
CIE-LCHlch(74.26, 71.23, 112.67°)
OKLaboklab(76.88% -0.0818 0.1448)
OKLCHoklch(76.88% 0.166 119.5)
XYZxyz(35.9541, 47.1138, 9.8886)
Luminance0.4711 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8C22F #492FC2
analogous
#C2922F #A8C22F #5FC22F
triadic
#A8C22F #2FA8C2 #C22FA8
tetradic
#A8C22F #2FC292 #492FC2 #C22F5F
square
#A8C22F #2FC292 #492FC2 #C22F5F
split-complementary
#A8C22F #2F5FC2 #922FC2
monochromatic
#535F17 #7D9123 #A8C22F #C0D658 #D3E289

Accessibility & contrast

On white

2.01
#A8C22F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.42
#A8C22F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8C22F
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8C22F#FFFFFF#000000##000000
##A8C22F1.002.0110.4210.42
#FFFFFF2.011.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB708
Deuteranopia (green-blind)
#CCB73D
Tritanopia (blue-blind)
#B2B7A6
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #a8c22f;
/* rgb */ color: rgb(168, 194, 47);
/* oklch */ color: oklch(76.9% 0.166 119.5);
Tailwind
colors: {
  custom: {
    50: '#c6d473',
    500: '#a8c22f',
    950: '#000000',
  },
}
SCSS
$custom: #a8c22f;
$custom-light: #c6d473;
$custom-dark: #000000;
JSON
{
  "hex": "#a8c22f",
  "rgb": {
    "r": 168,
    "g": 194,
    "b": 47
  },
  "hsl": {
    "h": 70.612,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.76876,
    "c": 0.16628,
    "h": 119.5
  },
  "luminance": 0.47114
}

Semantic roles & 50–950 ramp

primary
#A8C22F
secondary
#8E81CC
accent
#44E460
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131409
muted
#82827B

Preview Lab

Preview with #A8C22F

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

Preview Lab → · Contrast checker → · Palette generator →

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