#AFEA7B#AFEA7B

#AFEA7B is a very light, vivid yellow-green. Relative luminance 0.694; OKLCH L 87.2% C 0.154 H 131.9°. Best body text is #000000 at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#AFEA7B
RGBrgb(175, 234, 123)
HSLhsl(92, 73%, 70%)
HSVhsv(92, 47%, 92%)
CMYKcmyk(25.2%, 0%, 47.4%, 8.2%)
CIE-LABlab(86.70, -37.22, 47.71)
CIE-LCHlch(86.70, 60.51, 127.96°)
OKLaboklab(87.24% -0.1029 0.1148)
OKLCHoklch(87.24% 0.154 131.9)
XYZxyz(50.6764, 69.3884, 29.4584)
Luminance0.6939 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEA7B #B67BEA
analogous
#E6EA7B #AFEA7B #7BEA7F
triadic
#AFEA7B #7BAFEA #EA7BAF
tetradic
#AFEA7B #7BE6EA #B67BEA #EA7F7B
square
#AFEA7B #7BE6EA #B67BEA #EA7F7B
split-complementary
#AFEA7B #7F7BEA #EA7BE6
monochromatic
#70CA20 #8FE246 #AFEA7B #CFF2B0 #EFFBE5

Accessibility & contrast

On white

1.41
#AFEA7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.88
#AFEA7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEA7B
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEA7B#FFFFFF#000000##000000
##AFEA7B1.001.4114.8814.88
#FFFFFF1.411.0021.0021.00
#00000014.8821.001.001.00
##00000014.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DC72
Deuteranopia (green-blind)
#EAD782
Tritanopia (blue-blind)
#B1E2D0
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #afea7b;
/* rgb */ color: rgb(175, 234, 123);
/* oklch */ color: oklch(87.2% 0.154 131.9);
Tailwind
colors: {
  custom: {
    50: '#c9f1a3',
    500: '#afea7b',
    950: '#000000',
  },
}
SCSS
$custom: #afea7b;
$custom-light: #c9f1a3;
$custom-dark: #000000;
JSON
{
  "hex": "#afea7b",
  "rgb": {
    "r": 175,
    "g": 234,
    "b": 123
  },
  "hsl": {
    "h": 91.892,
    "s": 72.549,
    "l": 70
  },
  "oklch": {
    "l": 0.87245,
    "c": 0.1542,
    "h": 131.9
  },
  "luminance": 0.6939
}

Semantic roles & 50–950 ramp

primary
#AFEA7B
secondary
#8946C3
accent
#11D579
background
#FEFFFC
surface
#FAFEF6
border
#D3D6D0
text
#13160F
muted
#838580

Preview Lab

Preview with #AFEA7B

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

Preview Lab → · Contrast checker → · Palette generator →

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