#AFC22E#AFC22E

#AFC22E is a light, vivid yellow. Relative luminance 0.479; OKLCH L 77.4% C 0.164 H 116.9°. Best body text is #000000 at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#AFC22E
RGBrgb(175, 194, 46)
HSLhsl(68, 62%, 47%)
HSVhsv(68, 76%, 76%)
CMYKcmyk(9.8%, 0%, 76.3%, 23.9%)
CIE-LABlab(74.76, -24.60, 66.68)
CIE-LCHlch(74.76, 71.07, 110.25°)
OKLaboklab(77.4% -0.0744 0.1464)
OKLCHoklch(77.4% 0.164 116.9)
XYZxyz(37.4651, 47.8953, 9.8553)
Luminance0.4789 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC22E #412EC2
analogous
#C28B2E #AFC22E #65C22E
triadic
#AFC22E #2EAFC2 #C22EAF
tetradic
#AFC22E #2EC28B #412EC2 #C22E65
square
#AFC22E #2EC28B #412EC2 #C22E65
split-complementary
#AFC22E #2E65C2 #8B2EC2
monochromatic
#565F17 #829122 #AFC22E #C6D756 #D7E388

Accessibility & contrast

On white

1.99
#AFC22E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.58
#AFC22E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC22E
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC22E#FFFFFF#000000##000000
##AFC22E1.001.9910.5810.58
#FFFFFF1.991.0021.0021.00
#00000010.5821.001.001.00
##00000010.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B704
Deuteranopia (green-blind)
#CEB93C
Tritanopia (blue-blind)
#BAB7A6
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #afc22e;
/* rgb */ color: rgb(175, 194, 46);
/* oklch */ color: oklch(77.4% 0.164 116.9);
Tailwind
colors: {
  custom: {
    50: '#cbd473',
    500: '#afc22e',
    950: '#000000',
  },
}
SCSS
$custom: #afc22e;
$custom-light: #cbd473;
$custom-dark: #000000;
JSON
{
  "hex": "#afc22e",
  "rgb": {
    "r": 175,
    "g": 194,
    "b": 46
  },
  "hsl": {
    "h": 67.703,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.774,
    "c": 0.16422,
    "h": 116.9
  },
  "luminance": 0.47895
}

Semantic roles & 50–950 ramp

primary
#AFC22E
secondary
#897FCC
accent
#43E558
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B

Preview Lab

Preview with #AFC22E

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

Preview Lab → · Contrast checker → · Palette generator →

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