#AFE674#AFE674

#AFE674 is a very light, vivid yellow-green. Relative luminance 0.670; OKLCH L 86.2% C 0.155 H 130.3°. Best body text is #000000 at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#AFE674
RGBrgb(175, 230, 116)
HSLhsl(89, 70%, 68%)
HSVhsv(89, 50%, 90%)
CMYKcmyk(23.9%, 0%, 49.6%, 9.8%)
CIE-LABlab(85.49, -36.18, 49.55)
CIE-LCHlch(85.49, 61.35, 126.14°)
OKLaboklab(86.24% -0.1005 0.1185)
OKLCHoklch(86.24% 0.155 130.3)
XYZxyz(49.1278, 66.9674, 26.8573)
Luminance0.6697 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE674 #AB74E6
analogous
#E6E474 #AFE674 #76E674
triadic
#AFE674 #74AFE6 #E674AF
tetradic
#AFE674 #74E6E4 #AB74E6 #E67476
square
#AFE674 #74E6E4 #AB74E6 #E67476
split-complementary
#AFE674 #7476E6 #E474E6
monochromatic
#73BE22 #91DD40 #AFE674 #CDEFA8 #EBF9DC

Accessibility & contrast

On white

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

On black

14.39
#AFE674 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE674
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE674#FFFFFF#000000##000000
##AFE6741.001.4614.3914.39
#FFFFFF1.461.0021.0021.00
#00000014.3921.001.001.00
##00000014.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD86A
Deuteranopia (green-blind)
#E7D47B
Tritanopia (blue-blind)
#B2DECC
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #afe674;
/* rgb */ color: rgb(175, 230, 116);
/* oklch */ color: oklch(86.2% 0.155 130.3);
Tailwind
colors: {
  custom: {
    50: '#c9ee9e',
    500: '#afe674',
    950: '#000000',
  },
}
SCSS
$custom: #afe674;
$custom-light: #c9ee9e;
$custom-dark: #000000;
JSON
{
  "hex": "#afe674",
  "rgb": {
    "r": 175,
    "g": 230,
    "b": 116
  },
  "hsl": {
    "h": 88.947,
    "s": 69.512,
    "l": 67.843
  },
  "oklch": {
    "l": 0.86241,
    "c": 0.15534,
    "h": 130.3
  },
  "luminance": 0.66969
}

Semantic roles & 50–950 ramp

primary
#AFE674
secondary
#7D41BD
accent
#14D16F
background
#FEFFFC
surface
#FAFEF5
border
#D3D6CF
text
#13160F
muted
#838580

Preview Lab

Preview with #AFE674

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

Preview Lab → · Contrast checker → · Palette generator →

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