#AFEB5A#AFEB5A

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

Color values

HEX#AFEB5A
RGBrgb(175, 235, 90)
HSLhsl(85, 78%, 64%)
HSVhsv(85, 62%, 92%)
CMYKcmyk(25.5%, 0%, 61.7%, 7.8%)
CIE-LABlab(86.64, -40.85, 62.43)
CIE-LCHlch(86.64, 74.60, 123.20°)
OKLaboklab(87.09% -0.1155 0.1439)
OKLCHoklch(87.09% 0.184 128.8)
XYZxyz(49.2328, 69.2677, 20.4470)
Luminance0.6927 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEB5A #965AEB
analogous
#EBDF5A #AFEB5A #66EB5A
triadic
#AFEB5A #5AAFEB #EB5AAF
tetradic
#AFEB5A #5AEBDF #965AEB #EB5A66
square
#AFEB5A #5AEBDF #965AEB #EB5A66
split-complementary
#AFEB5A #5A66EB #DF5AEB
monochromatic
#73B516 #95E423 #AFEB5A #C9F291 #E4F8C7

Accessibility & contrast

On white

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

On black

14.85
#AFEB5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEB5A
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEB5A#FFFFFF#000000##000000
##AFEB5A1.001.4114.8514.85
#FFFFFF1.411.0021.0021.00
#00000014.8521.001.001.00
##00000014.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afeb5a;
/* rgb */ color: rgb(175, 235, 90);
/* oklch */ color: oklch(87.1% 0.184 128.8);
Tailwind
colors: {
  custom: {
    50: '#caf18e',
    500: '#afeb5a',
    950: '#000000',
  },
}
SCSS
$custom: #afeb5a;
$custom-light: #caf18e;
$custom-dark: #000000;
JSON
{
  "hex": "#afeb5a",
  "rgb": {
    "r": 175,
    "g": 235,
    "b": 90
  },
  "hsl": {
    "h": 84.828,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.87087,
    "c": 0.18446,
    "h": 128.8
  },
  "luminance": 0.69269
}

Semantic roles & 50–950 ramp

primary
#AFEB5A
secondary
#6A35B5
accent
#0BDB61
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14170D
muted
#83857F

Preview Lab

Preview with #AFEB5A

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

Preview Lab → · Contrast checker → · Palette generator →

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