#AFD442#AFD442

#AFD442 is a light, vivid yellow-green. Relative luminance 0.566; OKLCH L 81.6% C 0.173 H 122.7°. Best body text is #000000 at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#AFD442
RGBrgb(175, 212, 66)
HSLhsl(75, 63%, 55%)
HSVhsv(75, 69%, 83%)
CMYKcmyk(17.5%, 0%, 68.9%, 16.9%)
CIE-LABlab(79.95, -32.12, 64.84)
CIE-LCHlch(79.95, 72.36, 116.35°)
OKLaboklab(81.62% -0.0935 0.1458)
OKLCHoklch(81.62% 0.173 122.7)
XYZxyz(42.2066, 56.5941, 13.8534)
Luminance0.5659 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD442 #6742D4
analogous
#D4B042 #AFD442 #66D442
triadic
#AFD442 #42AFD4 #D442AF
tetradic
#AFD442 #42D4B0 #6742D4 #D44266
square
#AFD442 #42D4B0 #6742D4 #D44266
split-complementary
#AFD442 #4266D4 #B042D4
monochromatic
#667F1D #8EB128 #AFD442 #C4DF74 #D9EBA6

Accessibility & contrast

On white

1.70
#AFD442 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.32
#AFD442 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD442
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD442#FFFFFF#000000##000000
##AFD4421.001.7012.3212.32
#FFFFFF1.701.0021.0021.00
#00000012.3221.001.001.00
##00000012.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C72B
Deuteranopia (green-blind)
#DBC64E
Tritanopia (blue-blind)
#B8C9B7
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #afd442;
/* rgb */ color: rgb(175, 212, 66);
/* oklch */ color: oklch(81.6% 0.173 122.7);
Tailwind
colors: {
  custom: {
    50: '#cae17f',
    500: '#afd442',
    950: '#000000',
  },
}
SCSS
$custom: #afd442;
$custom-light: #cae17f;
$custom-dark: #000000;
JSON
{
  "hex": "#afd442",
  "rgb": {
    "r": 175,
    "g": 212,
    "b": 66
  },
  "hsl": {
    "h": 75.205,
    "s": 62.931,
    "l": 54.51
  },
  "oklch": {
    "l": 0.81619,
    "c": 0.17315,
    "h": 122.7
  },
  "luminance": 0.56594
}

Semantic roles & 50–950 ramp

primary
#AFD442
secondary
#493486
accent
#42E66B
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFD442

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

Preview Lab → · Contrast checker → · Palette generator →

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