#AFFA6E#AFFA6E

#AFFA6E is a very light, vivid yellow-green. Relative luminance 0.786; OKLCH L 90.7% C 0.188 H 132.6°. Best body text is #000000 at 16.72:1 contrast (WCAG AA passes).

Color values

HEX#AFFA6E
RGBrgb(175, 250, 110)
HSLhsl(92, 93%, 71%)
HSVhsv(92, 56%, 98%)
CMYKcmyk(30%, 0%, 56%, 2%)
CIE-LABlab(91.06, -45.61, 58.87)
CIE-LCHlch(91.06, 74.47, 127.77°)
OKLaboklab(90.73% -0.127 0.1383)
OKLCHoklch(90.73% 0.188 132.6)
XYZxyz(54.6784, 78.6091, 27.0410)
Luminance0.7861 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFA6E #B96EFA
analogous
#F5FA6E #AFFA6E #6EFA73
triadic
#AFFA6E #6EAFFA #FA6EAF
tetradic
#AFFA6E #6EF5FA #B96EFA #FA736E
square
#AFFA6E #6EF5FA #B96EFA #FA736E
split-complementary
#AFFA6E #736EFA #FA6EF5
monochromatic
#6FE608 #8EF833 #AFFA6E #D0FCA9 #EFFEE1

Accessibility & contrast

On white

1.26
#AFFA6E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.72
#AFFA6E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFA6E
16.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFA6E#FFFFFF#000000##000000
##AFFA6E1.001.2616.7216.72
#FFFFFF1.261.0021.0021.00
#00000016.7221.001.001.00
##00000016.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE960
Deuteranopia (green-blind)
#F9E378
Tritanopia (blue-blind)
#B1F1DB
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #affa6e;
/* rgb */ color: rgb(175, 250, 110);
/* oklch */ color: oklch(90.7% 0.188 132.6);
Tailwind
colors: {
  custom: {
    50: '#cafc9b',
    500: '#affa6e',
    950: '#000000',
  },
}
SCSS
$custom: #affa6e;
$custom-light: #cafc9b;
$custom-dark: #000000;
JSON
{
  "hex": "#affa6e",
  "rgb": {
    "r": 175,
    "g": 250,
    "b": 110
  },
  "hsl": {
    "h": 92.143,
    "s": 93.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.90733,
    "c": 0.18776,
    "h": 132.6
  },
  "luminance": 0.78611
}

Semantic roles & 50–950 ramp

primary
#AFFA6E
secondary
#8C37D5
accent
#00E67B
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #AFFA6E

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

Preview Lab → · Contrast checker → · Palette generator →

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