#AFFA6B#AFFA6B

#AFFA6B is a very light, vivid yellow-green. Relative luminance 0.785; OKLCH L 90.7% C 0.190 H 132.3°. Best body text is #000000 at 16.71:1 contrast (WCAG AA passes).

Color values

HEX#AFFA6B
RGBrgb(175, 250, 107)
HSLhsl(91, 93%, 70%)
HSVhsv(91, 57%, 98%)
CMYKcmyk(30%, 0%, 57.2%, 2%)
CIE-LABlab(91.03, -45.89, 60.14)
CIE-LCHlch(91.03, 75.65, 127.35°)
OKLaboklab(90.7% -0.128 0.1407)
OKLCHoklch(90.7% 0.19 132.3)
XYZxyz(54.5179, 78.5449, 26.1953)
Luminance0.7855 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFA6B #B66BFA
analogous
#F6FA6B #AFFA6B #6BFA6F
triadic
#AFFA6B #6BAFFA #FA6BAF
tetradic
#AFFA6B #6BF6FA #B66BFA #FA6F6B
square
#AFFA6B #6BF6FA #B66BFA #FA6F6B
split-complementary
#AFFA6B #6F6BFA #FA6BF6
monochromatic
#70E308 #8FF830 #AFFA6B #CFFCA6 #EFFEE1

Accessibility & contrast

On white

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

On black

16.71
#AFFA6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFA6B
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFA6B#FFFFFF#000000##000000
##AFFA6B1.001.2616.7116.71
#FFFFFF1.261.0021.0021.00
#00000016.7121.001.001.00
##00000016.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #affa6b;
/* rgb */ color: rgb(175, 250, 107);
/* oklch */ color: oklch(90.7% 0.190 132.3);
Tailwind
colors: {
  custom: {
    50: '#cafc9a',
    500: '#affa6b',
    950: '#000000',
  },
}
SCSS
$custom: #affa6b;
$custom-light: #cafc9a;
$custom-dark: #000000;
JSON
{
  "hex": "#affa6b",
  "rgb": {
    "r": 175,
    "g": 250,
    "b": 107
  },
  "hsl": {
    "h": 91.469,
    "s": 93.464,
    "l": 70
  },
  "oklch": {
    "l": 0.907,
    "c": 0.19026,
    "h": 132.3
  },
  "luminance": 0.78547
}

Semantic roles & 50–950 ramp

primary
#AFFA6B
secondary
#8935D5
accent
#00E678
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #AFFA6B

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

Preview Lab → · Contrast checker → · Palette generator →

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