#AFEB7B#AFEB7B

#AFEB7B is a very light, vivid yellow-green. Relative luminance 0.700; OKLCH L 87.5% C 0.156 H 132.0°. Best body text is #000000 at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#AFEB7B
RGBrgb(175, 235, 123)
HSLhsl(92, 74%, 70%)
HSVhsv(92, 48%, 92%)
CMYKcmyk(25.5%, 0%, 47.7%, 7.8%)
CIE-LABlab(86.98, -37.67, 48.05)
CIE-LCHlch(86.98, 61.06, 128.09°)
OKLaboklab(87.47% -0.1042 0.1156)
OKLCHoklch(87.47% 0.156 132)
XYZxyz(50.9619, 69.9593, 29.5535)
Luminance0.6996 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEB7B #B77BEB
analogous
#E7EB7B #AFEB7B #7BEB7F
triadic
#AFEB7B #7BAFEB #EB7BAF
tetradic
#AFEB7B #7BE7EB #B77BEB #EB7F7B
square
#AFEB7B #7BE7EB #B77BEB #EB7F7B
split-complementary
#AFEB7B #7F7BEB #EB7BE7
monochromatic
#70CD1F #8FE346 #AFEB7B #CFF3B0 #EFFBE4

Accessibility & contrast

On white

1.40
#AFEB7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.99
#AFEB7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEB7B
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEB7B#FFFFFF#000000##000000
##AFEB7B1.001.4014.9914.99
#FFFFFF1.401.0021.0021.00
#00000014.9921.001.001.00
##00000014.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DD72
Deuteranopia (green-blind)
#EBD882
Tritanopia (blue-blind)
#B1E3D1
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #afeb7b;
/* rgb */ color: rgb(175, 235, 123);
/* oklch */ color: oklch(87.5% 0.156 132.0);
Tailwind
colors: {
  custom: {
    50: '#c9f1a3',
    500: '#afeb7b',
    950: '#000000',
  },
}
SCSS
$custom: #afeb7b;
$custom-light: #c9f1a3;
$custom-dark: #000000;
JSON
{
  "hex": "#afeb7b",
  "rgb": {
    "r": 175,
    "g": 235,
    "b": 123
  },
  "hsl": {
    "h": 92.143,
    "s": 73.684,
    "l": 70.196
  },
  "oklch": {
    "l": 0.87472,
    "c": 0.1556,
    "h": 132
  },
  "luminance": 0.69961
}

Semantic roles & 50–950 ramp

primary
#AFEB7B
secondary
#8A46C4
accent
#10D67A
background
#FEFFFC
surface
#FAFEF6
border
#D3D6D0
text
#13170F
muted
#838580

Preview Lab

Preview with #AFEB7B

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

Preview Lab → · Contrast checker → · Palette generator →

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