#AFFB6C#AFFB6C

#AFFB6C is a very light, vivid yellow-green. Relative luminance 0.792; OKLCH L 90.9% C 0.191 H 132.5°. Best body text is #000000 at 16.84:1 contrast (WCAG AA passes).

Color values

HEX#AFFB6C
RGBrgb(175, 251, 108)
HSLhsl(92, 95%, 70%)
HSVhsv(92, 57%, 98%)
CMYKcmyk(30.3%, 0%, 57%, 1.6%)
CIE-LABlab(91.32, -46.23, 60.04)
CIE-LCHlch(91.32, 75.78, 127.59°)
OKLaboklab(90.94% -0.1289 0.1406)
OKLCHoklch(90.94% 0.191 132.5)
XYZxyz(54.8823, 79.1892, 26.5779)
Luminance0.7919 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFB6C #B86CFB
analogous
#F7FB6C #AFFB6C #6CFB70
triadic
#AFFB6C #6CAFFB #FB6CAF
tetradic
#AFFB6C #6CF7FB #B86CFB #FB706C
square
#AFFB6C #6CF7FB #B86CFB #FB706C
split-complementary
#AFFB6C #706CFB #FB6CF7
monochromatic
#6FE606 #8FF930 #AFFB6C #CFFDA8 #EFFEE1

Accessibility & contrast

On white

1.25
#AFFB6C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.84
#AFFB6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFB6C
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFB6C#FFFFFF#000000##000000
##AFFB6C1.001.2516.8416.84
#FFFFFF1.251.0021.0021.00
#00000016.8421.001.001.00
##00000016.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA5D
Deuteranopia (green-blind)
#FAE476
Tritanopia (blue-blind)
#B1F2DC
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #affb6c;
/* rgb */ color: rgb(175, 251, 108);
/* oklch */ color: oklch(90.9% 0.191 132.5);
Tailwind
colors: {
  custom: {
    50: '#cbfd9a',
    500: '#affb6c',
    950: '#000000',
  },
}
SCSS
$custom: #affb6c;
$custom-light: #cbfd9a;
$custom-dark: #000000;
JSON
{
  "hex": "#affb6c",
  "rgb": {
    "r": 175,
    "g": 251,
    "b": 108
  },
  "hsl": {
    "h": 91.888,
    "s": 94.702,
    "l": 70.392
  },
  "oklch": {
    "l": 0.9094,
    "c": 0.19074,
    "h": 132.5
  },
  "luminance": 0.79191
}

Semantic roles & 50–950 ramp

primary
#AFFB6C
secondary
#8B35D6
accent
#00E67A
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #AFFB6C

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

Preview Lab → · Contrast checker → · Palette generator →

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