#AFE74B#AFE74B

#AFE74B is a very light, vivid yellow-green. Relative luminance 0.668; OKLCH L 86.0% C 0.190 H 127.1°. Best body text is #000000 at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#AFE74B
RGBrgb(175, 231, 75)
HSLhsl(82, 76%, 60%)
HSVhsv(82, 68%, 91%)
CMYKcmyk(24.2%, 0%, 67.5%, 9.4%)
CIE-LABlab(85.39, -40.17, 67.03)
CIE-LCHlch(85.39, 78.14, 120.93°)
OKLaboklab(86.04% -0.1148 0.1516)
OKLCHoklch(86.04% 0.19 127.1)
XYZxyz(47.5252, 66.7729, 17.0398)
Luminance0.6677 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE74B #834BE7
analogous
#E7D14B #AFE74B #61E74B
triadic
#AFE74B #4BAFE7 #E74BAF
tetradic
#AFE74B #4BE7D1 #834BE7 #E74B61
square
#AFE74B #4BE7D1 #834BE7 #E74B61
split-complementary
#AFE74B #4B61E7 #D14BE7
monochromatic
#70A216 #95D81D #AFE74B #C7EE81 #DFF5B7

Accessibility & contrast

On white

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

On black

14.35
#AFE74B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE74B
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE74B#FFFFFF#000000##000000
##AFE74B1.001.4614.3514.35
#FFFFFF1.461.0021.0021.00
#00000014.3521.001.001.00
##00000014.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D834
Deuteranopia (green-blind)
#EBD458
Tritanopia (blue-blind)
#B5DDC8
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #afe74b;
/* rgb */ color: rgb(175, 231, 75);
/* oklch */ color: oklch(86.0% 0.190 127.1);
Tailwind
colors: {
  custom: {
    50: '#cbef85',
    500: '#afe74b',
    950: '#000000',
  },
}
SCSS
$custom: #afe74b;
$custom-light: #cbef85;
$custom-dark: #000000;
JSON
{
  "hex": "#afe74b",
  "rgb": {
    "r": 175,
    "g": 231,
    "b": 75
  },
  "hsl": {
    "h": 81.538,
    "s": 76.471,
    "l": 60
  },
  "oklch": {
    "l": 0.86039,
    "c": 0.19022,
    "h": 127.1
  },
  "luminance": 0.66774
}

Semantic roles & 50–950 ramp

primary
#AFE74B
secondary
#5B32A4
accent
#35F379
background
#FEFFFC
surface
#FBFEF3
border
#D4D6CD
text
#14160C
muted
#83857F

Preview Lab

Preview with #AFE74B

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

Preview Lab → · Contrast checker → · Palette generator →

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