#AFEA6B#AFEA6B

#AFEA6B is a very light, vivid yellow-green. Relative luminance 0.690; OKLCH L 87.0% C 0.169 H 130.0°. Best body text is #000000 at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#AFEA6B
RGBrgb(175, 234, 107)
HSLhsl(88, 75%, 67%)
HSVhsv(88, 54%, 92%)
CMYKcmyk(25.2%, 0%, 54.3%, 8.2%)
CIE-LABlab(86.51, -38.90, 54.92)
CIE-LCHlch(86.51, 67.31, 125.31°)
OKLaboklab(87.04% -0.1087 0.1295)
OKLCHoklch(87.04% 0.169 130)
XYZxyz(49.7554, 69.0200, 24.6078)
Luminance0.6902 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEA6B #A66BEA
analogous
#EAE66B #AFEA6B #70EA6B
triadic
#AFEA6B #6BAFEA #EA6BAF
tetradic
#AFEA6B #6BEAE6 #A66BEA #EA6B70
square
#AFEA6B #6BEAE6 #A66BEA #EA6B70
split-complementary
#AFEA6B #6B70EA #E66BEA
monochromatic
#73BF1B #92E235 #AFEA6B #CCF2A1 #E9F9D6

Accessibility & contrast

On white

1.42
#AFEA6B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.80
#AFEA6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEA6B
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEA6B#FFFFFF#000000##000000
##AFEA6B1.001.4214.8014.80
#FFFFFF1.421.0021.0021.00
#00000014.8021.001.001.00
##00000014.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DB5F
Deuteranopia (green-blind)
#EBD773
Tritanopia (blue-blind)
#B3E1CE
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #afea6b;
/* rgb */ color: rgb(175, 234, 107);
/* oklch */ color: oklch(87.0% 0.169 130.0);
Tailwind
colors: {
  custom: {
    50: '#caf199',
    500: '#afea6b',
    950: '#000000',
  },
}
SCSS
$custom: #afea6b;
$custom-light: #caf199;
$custom-dark: #000000;
JSON
{
  "hex": "#afea6b",
  "rgb": {
    "r": 175,
    "g": 234,
    "b": 107
  },
  "hsl": {
    "h": 87.874,
    "s": 75.148,
    "l": 66.863
  },
  "oklch": {
    "l": 0.87039,
    "c": 0.16909,
    "h": 130
  },
  "luminance": 0.69021
}

Semantic roles & 50–950 ramp

primary
#AFEA6B
secondary
#783BBE
accent
#0ED76C
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#13160E
muted
#83857F

Preview Lab

Preview with #AFEA6B

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

Preview Lab → · Contrast checker → · Palette generator →

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