#AFD241#AFD241

#AFD241 is a light, vivid yellow-green. Relative luminance 0.556; OKLCH L 81.2% C 0.171 H 122.1°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#AFD241
RGBrgb(175, 210, 65)
HSLhsl(74, 62%, 54%)
HSVhsv(74, 69%, 82%)
CMYKcmyk(16.7%, 0%, 69%, 17.6%)
CIE-LABlab(79.38, -31.25, 64.63)
CIE-LCHlch(79.38, 71.79, 115.80°)
OKLaboklab(81.16% -0.0911 0.1452)
OKLCHoklch(81.16% 0.171 122.1)
XYZxyz(41.6805, 55.5887, 13.5339)
Luminance0.5559 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD241 #6441D2
analogous
#D2AD41 #AFD241 #67D241
triadic
#AFD241 #41AFD2 #D241AF
tetradic
#AFD241 #41D2AD #6441D2 #D24167
square
#AFD241 #41D2AD #6441D2 #D24167
split-complementary
#AFD241 #4167D2 #AD41D2
monochromatic
#657B1D #8DAD29 #AFD241 #C4DE72 #D9E9A4

Accessibility & contrast

On white

1.73
#AFD241 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.12
#AFD241 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD241
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD241#FFFFFF#000000##000000
##AFD2411.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC52A
Deuteranopia (green-blind)
#DAC54D
Tritanopia (blue-blind)
#B8C7B5
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #afd241;
/* rgb */ color: rgb(175, 210, 65);
/* oklch */ color: oklch(81.2% 0.171 122.1);
Tailwind
colors: {
  custom: {
    50: '#cadf7e',
    500: '#afd241',
    950: '#000000',
  },
}
SCSS
$custom: #afd241;
$custom-light: #cadf7e;
$custom-dark: #000000;
JSON
{
  "hex": "#afd241",
  "rgb": {
    "r": 175,
    "g": 210,
    "b": 65
  },
  "hsl": {
    "h": 74.483,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.81156,
    "c": 0.17141,
    "h": 122.1
  },
  "luminance": 0.55589
}

Semantic roles & 50–950 ramp

primary
#AFD241
secondary
#473483
accent
#43E56A
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFD241

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

Preview Lab → · Contrast checker → · Palette generator →

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