#AFEA5C#AFEA5C

#AFEA5C is a very light, vivid yellow-green. Relative luminance 0.687; OKLCH L 86.9% C 0.182 H 128.7°. Best body text is #000000 at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#AFEA5C
RGBrgb(175, 234, 92)
HSLhsl(85, 77%, 64%)
HSVhsv(85, 61%, 92%)
CMYKcmyk(25.2%, 0%, 60.7%, 8.2%)
CIE-LABlab(86.37, -40.24, 61.30)
CIE-LCHlch(86.37, 73.33, 123.28°)
OKLaboklab(86.88% -0.1136 0.1417)
OKLCHoklch(86.88% 0.182 128.7)
XYZxyz(49.0336, 68.7312, 20.8062)
Luminance0.6873 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEA5C #975CEA
analogous
#EADE5C #AFEA5C #68EA5C
triadic
#AFEA5C #5CAFEA #EA5CAF
tetradic
#AFEA5C #5CEADE #975CEA #EA5C68
square
#AFEA5C #5CEADE #975CEA #EA5C68
split-complementary
#AFEA5C #5C68EA #DE5CEA
monochromatic
#73B417 #94E326 #AFEA5C #CAF192 #E4F8C8

Accessibility & contrast

On white

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

On black

14.75
#AFEA5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEA5C
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEA5C#FFFFFF#000000##000000
##AFEA5C1.001.4214.7514.75
#FFFFFF1.421.0021.0021.00
#00000014.7521.001.001.00
##00000014.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DB4C
Deuteranopia (green-blind)
#ECD766
Tritanopia (blue-blind)
#B4E0CC
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #afea5c;
/* rgb */ color: rgb(175, 234, 92);
/* oklch */ color: oklch(86.9% 0.182 128.7);
Tailwind
colors: {
  custom: {
    50: '#caf18f',
    500: '#afea5c',
    950: '#000000',
  },
}
SCSS
$custom: #afea5c;
$custom-light: #caf18f;
$custom-dark: #000000;
JSON
{
  "hex": "#afea5c",
  "rgb": {
    "r": 175,
    "g": 234,
    "b": 92
  },
  "hsl": {
    "h": 84.93,
    "s": 77.174,
    "l": 63.922
  },
  "oklch": {
    "l": 0.86877,
    "c": 0.18163,
    "h": 128.7
  },
  "luminance": 0.68732
}

Semantic roles & 50–950 ramp

primary
#AFEA5C
secondary
#6A36B4
accent
#0CD961
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14160D
muted
#83857F

Preview Lab

Preview with #AFEA5C

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

Preview Lab → · Contrast checker → · Palette generator →

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