#AFE75D#AFE75D

#AFE75D is a very light, vivid yellow-green. Relative luminance 0.671; OKLCH L 86.2% C 0.177 H 128.3°. Best body text is #000000 at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#AFE75D
RGBrgb(175, 231, 93)
HSLhsl(84, 74%, 64%)
HSVhsv(84, 60%, 91%)
CMYKcmyk(24.2%, 0%, 59.7%, 9.4%)
CIE-LABlab(85.53, -38.83, 59.95)
CIE-LCHlch(85.53, 71.43, 122.93°)
OKLaboklab(86.2% -0.1096 0.1389)
OKLCHoklch(86.2% 0.177 128.3)
XYZxyz(48.2307, 67.0551, 20.7557)
Luminance0.6706 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE75D #955DE7
analogous
#E7DA5D #AFE75D #6AE75D
triadic
#AFE75D #5DAFE7 #E75DAF
tetradic
#AFE75D #5DE7DA #955DE7 #E75D6A
square
#AFE75D #5DE7DA #955DE7 #E75D6A
split-complementary
#AFE75D #5D6AE7 #DA5DE7
monochromatic
#73B01A #95DF28 #AFE75D #C9EF92 #E4F7C8

Accessibility & contrast

On white

1.46
#AFE75D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.41
#AFE75D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE75D
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE75D#FFFFFF#000000##000000
##AFE75D1.001.4614.4114.41
#FFFFFF1.461.0021.0021.00
#00000014.4121.001.001.00
##00000014.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D84D
Deuteranopia (green-blind)
#EAD567
Tritanopia (blue-blind)
#B4DDCA
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #afe75d;
/* rgb */ color: rgb(175, 231, 93);
/* oklch */ color: oklch(86.2% 0.177 128.3);
Tailwind
colors: {
  custom: {
    50: '#caef90',
    500: '#afe75d',
    950: '#000000',
  },
}
SCSS
$custom: #afe75d;
$custom-light: #caef90;
$custom-dark: #000000;
JSON
{
  "hex": "#afe75d",
  "rgb": {
    "r": 175,
    "g": 231,
    "b": 93
  },
  "hsl": {
    "h": 84.348,
    "s": 74.194,
    "l": 63.529
  },
  "oklch": {
    "l": 0.862,
    "c": 0.17697,
    "h": 128.3
  },
  "luminance": 0.67056
}

Semantic roles & 50–950 ramp

primary
#AFE75D
secondary
#6938B0
accent
#0FD660
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14160D
muted
#83857F

Preview Lab

Preview with #AFE75D

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

Preview Lab → · Contrast checker → · Palette generator →

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