#AFEB5C#AFEB5C

#AFEB5C is a very light, vivid yellow-green. Relative luminance 0.693; OKLCH L 87.1% C 0.183 H 128.9°. Best body text is #000000 at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#AFEB5C
RGBrgb(175, 235, 92)
HSLhsl(85, 78%, 64%)
HSVhsv(85, 61%, 92%)
CMYKcmyk(25.5%, 0%, 60.9%, 7.8%)
CIE-LABlab(86.65, -40.69, 61.62)
CIE-LCHlch(86.65, 73.84, 123.44°)
OKLaboklab(87.11% -0.1148 0.1424)
OKLCHoklch(87.11% 0.183 128.9)
XYZxyz(49.3191, 69.3022, 20.9014)
Luminance0.6930 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEB5C #985CEB
analogous
#EBE05C #AFEB5C #68EB5C
triadic
#AFEB5C #5CAFEB #EB5CAF
tetradic
#AFEB5C #5CEBE0 #985CEB #EB5C68
square
#AFEB5C #5CEBE0 #985CEB #EB5C68
split-complementary
#AFEB5C #5C68EB #E05CEB
monochromatic
#73B616 #94E425 #AFEB5C #CAF293 #E5F8C9

Accessibility & contrast

On white

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

On black

14.86
#AFEB5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEB5C
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEB5C#FFFFFF#000000##000000
##AFEB5C1.001.4114.8614.86
#FFFFFF1.411.0021.0021.00
#00000014.8621.001.001.00
##00000014.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DC4B
Deuteranopia (green-blind)
#EDD867
Tritanopia (blue-blind)
#B4E1CD
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #afeb5c;
/* rgb */ color: rgb(175, 235, 92);
/* oklch */ color: oklch(87.1% 0.183 128.9);
Tailwind
colors: {
  custom: {
    50: '#caf18f',
    500: '#afeb5c',
    950: '#000000',
  },
}
SCSS
$custom: #afeb5c;
$custom-light: #caf18f;
$custom-dark: #000000;
JSON
{
  "hex": "#afeb5c",
  "rgb": {
    "r": 175,
    "g": 235,
    "b": 92
  },
  "hsl": {
    "h": 85.175,
    "s": 78.142,
    "l": 64.118
  },
  "oklch": {
    "l": 0.87106,
    "c": 0.1829,
    "h": 128.9
  },
  "luminance": 0.69303
}

Semantic roles & 50–950 ramp

primary
#AFEB5C
secondary
#6B35B6
accent
#0BDA62
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14170D
muted
#83857F

Preview Lab

Preview with #AFEB5C

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

Preview Lab → · Contrast checker → · Palette generator →

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