#AFFA6C#AFFA6C

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

Color values

HEX#AFFA6C
RGBrgb(175, 250, 108)
HSLhsl(92, 93%, 70%)
HSVhsv(92, 57%, 98%)
CMYKcmyk(30%, 0%, 56.8%, 2%)
CIE-LABlab(91.04, -45.80, 59.72)
CIE-LCHlch(91.04, 75.26, 127.49°)
OKLaboklab(90.71% -0.1277 0.1399)
OKLCHoklch(90.71% 0.189 132.4)
XYZxyz(54.5708, 78.5661, 26.4740)
Luminance0.7857 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFA6C #B76CFA
analogous
#F6FA6C #AFFA6C #6CFA70
triadic
#AFFA6C #6CAFFA #FA6CAF
tetradic
#AFFA6C #6CF6FA #B76CFA #FA706C
square
#AFFA6C #6CF6FA #B76CFA #FA706C
split-complementary
#AFFA6C #706CFA #FA6CF6
monochromatic
#70E408 #8FF831 #AFFA6C #CFFCA7 #EFFEE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFFA6C#FFFFFF#000000##000000
##AFFA6C1.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)
#FFE95D
Deuteranopia (green-blind)
#F9E376
Tritanopia (blue-blind)
#B1F1DB
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #affa6c;
/* rgb */ color: rgb(175, 250, 108);
/* oklch */ color: oklch(90.7% 0.189 132.4);
Tailwind
colors: {
  custom: {
    50: '#cafc9a',
    500: '#affa6c',
    950: '#000000',
  },
}
SCSS
$custom: #affa6c;
$custom-light: #cafc9a;
$custom-dark: #000000;
JSON
{
  "hex": "#affa6c",
  "rgb": {
    "r": 175,
    "g": 250,
    "b": 108
  },
  "hsl": {
    "h": 91.69,
    "s": 93.421,
    "l": 70.196
  },
  "oklch": {
    "l": 0.90711,
    "c": 0.18943,
    "h": 132.4
  },
  "luminance": 0.78568
}

Semantic roles & 50–950 ramp

primary
#AFFA6C
secondary
#8A35D5
accent
#00E679
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #AFFA6C

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

Preview Lab → · Contrast checker → · Palette generator →

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