#AFEC5A#AFEC5A

#AFEC5A is a very light, vivid yellow-green. Relative luminance 0.698; OKLCH L 87.3% C 0.186 H 128.9°. Best body text is #000000 at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#AFEC5A
RGBrgb(175, 236, 90)
HSLhsl(85, 79%, 64%)
HSVhsv(85, 62%, 93%)
CMYKcmyk(25.8%, 0%, 61.9%, 7.5%)
CIE-LABlab(86.92, -41.29, 62.74)
CIE-LCHlch(86.92, 75.10, 123.35°)
OKLaboklab(87.32% -0.1167 0.1445)
OKLCHoklch(87.32% 0.186 128.9)
XYZxyz(49.5199, 69.8419, 20.5427)
Luminance0.6984 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEC5A #975AEC
analogous
#ECE05A #AFEC5A #66EC5A
triadic
#AFEC5A #5AAFEC #EC5AAF
tetradic
#AFEC5A #5AECE0 #975AEC #EC5A66
square
#AFEC5A #5AECE0 #975AEC #EC5A66
split-complementary
#AFEC5A #5A66EC #E05AEC
monochromatic
#73B715 #94E623 #AFEC5A #CAF291 #E4F9C8

Accessibility & contrast

On white

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

On black

14.97
#AFEC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEC5A
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEC5A#FFFFFF#000000##000000
##AFEC5A1.001.4014.9714.97
#FFFFFF1.401.0021.0021.00
#00000014.9721.001.001.00
##00000014.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DC48
Deuteranopia (green-blind)
#EED865
Tritanopia (blue-blind)
#B4E2CD
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #afec5a;
/* rgb */ color: rgb(175, 236, 90);
/* oklch */ color: oklch(87.3% 0.186 128.9);
Tailwind
colors: {
  custom: {
    50: '#caf28e',
    500: '#afec5a',
    950: '#000000',
  },
}
SCSS
$custom: #afec5a;
$custom-light: #caf28e;
$custom-dark: #000000;
JSON
{
  "hex": "#afec5a",
  "rgb": {
    "r": 175,
    "g": 236,
    "b": 90
  },
  "hsl": {
    "h": 85.068,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.87316,
    "c": 0.18572,
    "h": 128.9
  },
  "luminance": 0.69843
}

Semantic roles & 50–950 ramp

primary
#AFEC5A
secondary
#6A34B6
accent
#0ADC62
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14170D
muted
#83857F

Preview Lab

Preview with #AFEC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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