#AFD46F#AFD46F

#AFD46F is a very light, vivid yellow-green. Relative luminance 0.573; OKLCH L 82.1% C 0.135 H 125.8°. Best body text is #000000 at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#AFD46F
RGBrgb(175, 212, 111)
HSLhsl(82, 54%, 63%)
HSVhsv(82, 48%, 83%)
CMYKcmyk(17.5%, 0%, 47.6%, 16.9%)
CIE-LABlab(80.38, -28.35, 45.72)
CIE-LCHlch(80.38, 53.79, 121.80°)
OKLaboklab(82.1% -0.079 0.1096)
OKLCHoklch(82.1% 0.135 125.8)
XYZxyz(44.0918, 57.3482, 23.7822)
Luminance0.5735 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD46F #946FD4
analogous
#D4C66F #AFD46F #7CD46F
triadic
#AFD46F #6FAFD4 #D46FAF
tetradic
#AFD46F #6FD4C6 #946FD4 #D46F7C
square
#AFD46F #6FD4C6 #946FD4 #D46F7C
split-complementary
#AFD46F #6F7CD4 #C66FD4
monochromatic
#739A2E #95C640 #AFD46F #C9E29E #E3F0CD

Accessibility & contrast

On white

1.68
#AFD46F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.47
#AFD46F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD46F
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD46F#FFFFFF#000000##000000
##AFD46F1.001.6812.4712.47
#FFFFFF1.681.0021.0021.00
#00000012.4721.001.001.00
##00000012.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC966
Deuteranopia (green-blind)
#D8C775
Tritanopia (blue-blind)
#B5CCBC
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #afd46f;
/* rgb */ color: rgb(175, 212, 111);
/* oklch */ color: oklch(82.1% 0.135 125.8);
Tailwind
colors: {
  custom: {
    50: '#c8e19a',
    500: '#afd46f',
    950: '#000000',
  },
}
SCSS
$custom: #afd46f;
$custom-light: #c8e19a;
$custom-dark: #000000;
JSON
{
  "hex": "#afd46f",
  "rgb": {
    "r": 175,
    "g": 212,
    "b": 111
  },
  "hsl": {
    "h": 81.98,
    "s": 54.011,
    "l": 63.333
  },
  "oklch": {
    "l": 0.82098,
    "c": 0.13515,
    "h": 125.8
  },
  "luminance": 0.57349
}

Semantic roles & 50–950 ramp

primary
#AFD46F
secondary
#68489F
accent
#24C15E
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150E
muted
#83847F

Preview Lab

Preview with #AFD46F

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

Preview Lab → · Contrast checker → · Palette generator →

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