#AFE45D#AFE45D

#AFE45D is a very light, vivid yellow-green. Relative luminance 0.654; OKLCH L 85.5% C 0.173 H 127.7°. Best body text is #000000 at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#AFE45D
RGBrgb(175, 228, 93)
HSLhsl(84, 71%, 63%)
HSVhsv(84, 59%, 89%)
CMYKcmyk(23.2%, 0%, 59.2%, 10.6%)
CIE-LABlab(84.68, -37.48, 59.01)
CIE-LCHlch(84.68, 69.90, 122.43°)
OKLaboklab(85.51% -0.1059 0.1369)
OKLCHoklch(85.51% 0.173 127.7)
XYZxyz(47.3983, 65.3902, 20.4782)
Luminance0.6539 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE45D #925DE4
analogous
#E4D65D #AFE45D #6BE45D
triadic
#AFE45D #5DAFE4 #E45DAF
tetradic
#AFE45D #5DE4D6 #925DE4 #E45D6B
square
#AFE45D #5DE4D6 #925DE4 #E45D6B
split-complementary
#AFE45D #5D6BE4 #D65DE4
monochromatic
#73AA1C #95DB29 #AFE45D #C9ED91 #E3F5C6

Accessibility & contrast

On white

1.49
#AFE45D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.08
#AFE45D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE45D
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE45D#FFFFFF#000000##000000
##AFE45D1.001.4914.0814.08
#FFFFFF1.491.0021.0021.00
#00000014.0821.001.001.00
##00000014.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD64E
Deuteranopia (green-blind)
#E7D267
Tritanopia (blue-blind)
#B4DAC7
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #afe45d;
/* rgb */ color: rgb(175, 228, 93);
/* oklch */ color: oklch(85.5% 0.173 127.7);
Tailwind
colors: {
  custom: {
    50: '#caec90',
    500: '#afe45d',
    950: '#000000',
  },
}
SCSS
$custom: #afe45d;
$custom-light: #caec90;
$custom-dark: #000000;
JSON
{
  "hex": "#afe45d",
  "rgb": {
    "r": 175,
    "g": 228,
    "b": 93
  },
  "hsl": {
    "h": 83.556,
    "s": 71.429,
    "l": 62.941
  },
  "oklch": {
    "l": 0.85514,
    "c": 0.1731,
    "h": 127.7
  },
  "luminance": 0.65391
}

Semantic roles & 50–950 ramp

primary
#AFE45D
secondary
#6639AC
accent
#12D35E
background
#FEFEFC
surface
#FBFDF4
border
#D4D5CE
text
#14160D
muted
#83847F

Preview Lab

Preview with #AFE45D

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

Preview Lab → · Contrast checker → · Palette generator →

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