#AFFC7B#AFFC7B

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

Color values

HEX#AFFC7B
RGBrgb(175, 252, 123)
HSLhsl(96, 96%, 74%)
HSVhsv(96, 51%, 99%)
CMYKcmyk(30.6%, 0%, 51.2%, 1.2%)
CIE-LABlab(91.76, -45.15, 53.86)
CIE-LCHlch(91.76, 70.28, 129.97°)
OKLaboklab(91.35% -0.1248 0.1284)
OKLCHoklch(91.35% 0.179 134.2)
XYZxyz(56.0636, 80.1628, 31.2541)
Luminance0.8016 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFC7B #C87BFC
analogous
#EFFC7B #AFFC7B #7BFC87
triadic
#AFFC7B #7BAFFC #FC7BAF
tetradic
#AFFC7B #7BEFFC #C87BFC #FC877B
square
#AFFC7B #7BEFFC #C87BFC #FC877B
split-complementary
#AFFC7B #877BFC #FC7BEF
monochromatic
#67F706 #8BFB3F #AFFC7B #D3FDB7 #EDFEE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFFC7B#FFFFFF#000000##000000
##AFFC7B1.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)
#FFEB6F
Deuteranopia (green-blind)
#F9E583
Tritanopia (blue-blind)
#AFF4DF
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #affc7b;
/* rgb */ color: rgb(175, 252, 123);
/* oklch */ color: oklch(91.3% 0.179 134.2);
Tailwind
colors: {
  custom: {
    50: '#cafea4',
    500: '#affc7b',
    950: '#000000',
  },
}
SCSS
$custom: #affc7b;
$custom-light: #cafea4;
$custom-dark: #000000;
JSON
{
  "hex": "#affc7b",
  "rgb": {
    "r": 175,
    "g": 252,
    "b": 123
  },
  "hsl": {
    "h": 95.814,
    "s": 95.556,
    "l": 73.529
  },
  "oklch": {
    "l": 0.91346,
    "c": 0.17911,
    "h": 134.2
  },
  "luminance": 0.80165
}

Semantic roles & 50–950 ramp

primary
#AFFC7B
secondary
#9C42D9
accent
#00E689
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#14180F
muted
#838680

Preview Lab

Preview with #AFFC7B

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

Preview Lab → · Contrast checker → · Palette generator →

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