#AFD46C#AFD46C

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

Color values

HEX#AFD46C
RGBrgb(175, 212, 108)
HSLhsl(81, 55%, 63%)
HSVhsv(81, 49%, 83%)
CMYKcmyk(17.5%, 0%, 49.1%, 16.9%)
CIE-LABlab(80.34, -28.67, 47.12)
CIE-LCHlch(80.34, 55.15, 121.32°)
OKLaboklab(82.06% -0.0801 0.1125)
OKLCHoklch(82.06% 0.138 125.5)
XYZxyz(43.9294, 57.2832, 22.9269)
Luminance0.5728 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD46C #916CD4
analogous
#D4C56C #AFD46C #7BD46C
triadic
#AFD46C #6CAFD4 #D46CAF
tetradic
#AFD46C #6CD4C5 #916CD4 #D46C7B
square
#AFD46C #6CD4C5 #916CD4 #D46C7B
split-complementary
#AFD46C #6C7BD4 #C56CD4
monochromatic
#72992D #95C63D #AFD46C #C9E29B #E3F0CB

Accessibility & contrast

On white

1.69
#AFD46C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.46
#AFD46C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD46C
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD46C#FFFFFF#000000##000000
##AFD46C1.001.6912.4612.46
#FFFFFF1.691.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afd46c;
/* rgb */ color: rgb(175, 212, 108);
/* oklch */ color: oklch(82.1% 0.138 125.5);
Tailwind
colors: {
  custom: {
    50: '#c9e198',
    500: '#afd46c',
    950: '#000000',
  },
}
SCSS
$custom: #afd46c;
$custom-light: #c9e198;
$custom-dark: #000000;
JSON
{
  "hex": "#afd46c",
  "rgb": {
    "r": 175,
    "g": 212,
    "b": 108
  },
  "hsl": {
    "h": 81.346,
    "s": 54.737,
    "l": 62.745
  },
  "oklch": {
    "l": 0.82057,
    "c": 0.13815,
    "h": 125.5
  },
  "luminance": 0.57284
}

Semantic roles & 50–950 ramp

primary
#AFD46C
secondary
#65469E
accent
#23C25C
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150E
muted
#83847F

Preview Lab

Preview with #AFD46C

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

Preview Lab → · Contrast checker → · Palette generator →

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