#AFE774#AFE774

#AFE774 is a very light, vivid yellow-green. Relative luminance 0.675; OKLCH L 86.5% C 0.157 H 130.5°. Best body text is #000000 at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#AFE774
RGBrgb(175, 231, 116)
HSLhsl(89, 71%, 68%)
HSVhsv(89, 50%, 91%)
CMYKcmyk(24.2%, 0%, 49.8%, 9.4%)
CIE-LABlab(85.77, -36.63, 49.89)
CIE-LCHlch(85.77, 61.89, 126.29°)
OKLaboklab(86.47% -0.1018 0.1192)
OKLCHoklch(86.47% 0.157 130.5)
XYZxyz(49.4069, 67.5256, 26.9503)
Luminance0.6753 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE774 #AC74E7
analogous
#E7E574 #AFE774 #75E774
triadic
#AFE774 #74AFE7 #E774AF
tetradic
#AFE774 #74E7E5 #AC74E7 #E77475
square
#AFE774 #74E7E5 #AC74E7 #E77475
split-complementary
#AFE774 #7475E7 #E574E7
monochromatic
#72C021 #91DE40 #AFE774 #CDF0A8 #EBF9DC

Accessibility & contrast

On white

1.45
#AFE774 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.51
#AFE774 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE774
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE774#FFFFFF#000000##000000
##AFE7741.001.4514.5114.51
#FFFFFF1.451.0021.0021.00
#00000014.5121.001.001.00
##00000014.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D96A
Deuteranopia (green-blind)
#E8D57B
Tritanopia (blue-blind)
#B2DFCD
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #afe774;
/* rgb */ color: rgb(175, 231, 116);
/* oklch */ color: oklch(86.5% 0.157 130.5);
Tailwind
colors: {
  custom: {
    50: '#c9ef9e',
    500: '#afe774',
    950: '#000000',
  },
}
SCSS
$custom: #afe774;
$custom-light: #c9ef9e;
$custom-dark: #000000;
JSON
{
  "hex": "#afe774",
  "rgb": {
    "r": 175,
    "g": 231,
    "b": 116
  },
  "hsl": {
    "h": 89.217,
    "s": 70.552,
    "l": 68.039
  },
  "oklch": {
    "l": 0.86468,
    "c": 0.15673,
    "h": 130.5
  },
  "luminance": 0.67527
}

Semantic roles & 50–950 ramp

primary
#AFE774
secondary
#7E41BF
accent
#13D370
background
#FEFFFC
surface
#FAFEF5
border
#D3D6CF
text
#13160F
muted
#838580

Preview Lab

Preview with #AFE774

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

Preview Lab → · Contrast checker → · Palette generator →

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