#AFE645#AFE645

#AFE645 is a very light, vivid yellow-green. Relative luminance 0.661; OKLCH L 85.8% C 0.193 H 126.7°. Best body text is #000000 at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#AFE645
RGBrgb(175, 230, 69)
HSLhsl(80, 76%, 59%)
HSVhsv(80, 70%, 90%)
CMYKcmyk(23.9%, 0%, 70%, 9.8%)
CIE-LABlab(85.07, -40.10, 68.90)
CIE-LCHlch(85.07, 79.72, 120.20°)
OKLaboklab(85.76% -0.1151 0.1547)
OKLCHoklch(85.76% 0.193 126.7)
XYZxyz(47.0503, 66.1365, 15.9158)
Luminance0.6614 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE645 #7C45E6
analogous
#E6CC45 #AFE645 #5EE645
triadic
#AFE645 #45AFE6 #E645AF
tetradic
#AFE645 #45E6CC #7C45E6 #E6455E
square
#AFE645 #45E6CC #7C45E6 #E6455E
split-complementary
#AFE645 #455EE6 #CC45E6
monochromatic
#6E9C15 #94D21C #AFE645 #C6ED7B #DDF5B1

Accessibility & contrast

On white

1.48
#AFE645 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.23
#AFE645 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE645
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE645#FFFFFF#000000##000000
##AFE6451.001.4814.2314.23
#FFFFFF1.481.0021.0021.00
#00000014.2321.001.001.00
##00000014.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D72A
Deuteranopia (green-blind)
#EAD453
Tritanopia (blue-blind)
#B6DBC6
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #afe645;
/* rgb */ color: rgb(175, 230, 69);
/* oklch */ color: oklch(85.8% 0.193 126.7);
Tailwind
colors: {
  custom: {
    50: '#cbee82',
    500: '#afe645',
    950: '#000000',
  },
}
SCSS
$custom: #afe645;
$custom-light: #cbee82;
$custom-dark: #000000;
JSON
{
  "hex": "#afe645",
  "rgb": {
    "r": 175,
    "g": 230,
    "b": 69
  },
  "hsl": {
    "h": 80.497,
    "s": 76.303,
    "l": 58.627
  },
  "oklch": {
    "l": 0.85764,
    "c": 0.19286,
    "h": 126.7
  },
  "luminance": 0.66137
}

Semantic roles & 50–950 ramp

primary
#AFE645
secondary
#56309F
accent
#35F376
background
#FEFFFB
surface
#FBFEF2
border
#D4D6CC
text
#14160B
muted
#83857E

Preview Lab

Preview with #AFE645

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

Preview Lab → · Contrast checker → · Palette generator →

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