#AFEC5B#AFEC5B

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

Color values

HEX#AFEC5B
RGBrgb(175, 236, 91)
HSLhsl(85, 79%, 64%)
HSVhsv(85, 61%, 93%)
CMYKcmyk(25.8%, 0%, 61.4%, 7.5%)
CIE-LABlab(86.93, -41.21, 62.33)
CIE-LCHlch(86.93, 74.72, 123.47°)
OKLaboklab(87.33% -0.1164 0.1438)
OKLCHoklch(87.33% 0.185 129)
XYZxyz(49.5627, 69.8591, 20.7684)
Luminance0.6986 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEC5B #985BEC
analogous
#ECE05B #AFEC5B #67EC5B
triadic
#AFEC5B #5BAFEC #EC5BAF
tetradic
#AFEC5B #5BECE0 #985BEC #EC5B67
square
#AFEC5B #5BECE0 #985BEC #EC5B67
split-complementary
#AFEC5B #5B67EC #E05BEC
monochromatic
#73B715 #94E624 #AFEC5B #CAF292 #E5F9C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFEC5B#FFFFFF#000000##000000
##AFEC5B1.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)
#F7DC4A
Deuteranopia (green-blind)
#EED866
Tritanopia (blue-blind)
#B4E2CD
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #afec5b;
/* rgb */ color: rgb(175, 236, 91);
/* oklch */ color: oklch(87.3% 0.185 129.0);
Tailwind
colors: {
  custom: {
    50: '#caf28f',
    500: '#afec5b',
    950: '#000000',
  },
}
SCSS
$custom: #afec5b;
$custom-light: #caf28f;
$custom-dark: #000000;
JSON
{
  "hex": "#afec5b",
  "rgb": {
    "r": 175,
    "g": 236,
    "b": 91
  },
  "hsl": {
    "h": 85.241,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.87325,
    "c": 0.18496,
    "h": 129
  },
  "luminance": 0.6986
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFEC5B

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

Preview Lab → · Contrast checker → · Palette generator →

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