#AFFC7A#AFFC7A

#AFFC7A is a very light, vivid yellow-green. Relative luminance 0.801; OKLCH L 91.3% C 0.180 H 134.1°. Best body text is #000000 at 17.03:1 contrast (WCAG AA passes).

Color values

HEX#AFFC7A
RGBrgb(175, 252, 122)
HSLhsl(96, 96%, 73%)
HSVhsv(96, 52%, 99%)
CMYKcmyk(30.6%, 0%, 51.6%, 1.2%)
CIE-LABlab(91.75, -45.26, 54.30)
CIE-LCHlch(91.75, 70.69, 129.81°)
OKLaboklab(91.33% -0.1252 0.1293)
OKLCHoklch(91.33% 0.18 134.1)
XYZxyz(56.0013, 80.1379, 30.9261)
Luminance0.8014 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFC7A #C77AFC
analogous
#F0FC7A #AFFC7A #7AFC86
triadic
#AFFC7A #7AAFFC #FC7AAF
tetradic
#AFFC7A #7AF0FC #C77AFC #FC867A
square
#AFFC7A #7AF0FC #C77AFC #FC867A
split-complementary
#AFFC7A #867AFC #FC7AF0
monochromatic
#68F606 #8BFB3E #AFFC7A #D3FDB6 #EDFEE1

Accessibility & contrast

On white

1.23
#AFFC7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.03
#AFFC7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFC7A
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFC7A#FFFFFF#000000##000000
##AFFC7A1.001.2317.0317.03
#FFFFFF1.231.0021.0021.00
#00000017.0321.001.001.00
##00000017.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB6E
Deuteranopia (green-blind)
#F9E583
Tritanopia (blue-blind)
#AFF4DF
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #affc7a;
/* rgb */ color: rgb(175, 252, 122);
/* oklch */ color: oklch(91.3% 0.180 134.1);
Tailwind
colors: {
  custom: {
    50: '#cafea3',
    500: '#affc7a',
    950: '#000000',
  },
}
SCSS
$custom: #affc7a;
$custom-light: #cafea3;
$custom-dark: #000000;
JSON
{
  "hex": "#affc7a",
  "rgb": {
    "r": 175,
    "g": 252,
    "b": 122
  },
  "hsl": {
    "h": 95.538,
    "s": 95.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.91333,
    "c": 0.18,
    "h": 134.1
  },
  "luminance": 0.8014
}

Semantic roles & 50–950 ramp

primary
#AFFC7A
secondary
#9B41D9
accent
#00E688
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#14180F
muted
#838680

Preview Lab

Preview with #AFFC7A

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

Preview Lab → · Contrast checker → · Palette generator →

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