#AFE673#AFE673

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

Color values

HEX#AFE673
RGBrgb(175, 230, 115)
HSLhsl(89, 70%, 68%)
HSVhsv(89, 50%, 90%)
CMYKcmyk(23.9%, 0%, 50%, 9.8%)
CIE-LABlab(85.48, -36.29, 50.01)
CIE-LCHlch(85.48, 61.78, 125.97°)
OKLaboklab(86.23% -0.1009 0.1194)
OKLCHoklch(86.23% 0.156 130.2)
XYZxyz(49.0700, 66.9443, 26.5526)
Luminance0.6694 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE673 #AA73E6
analogous
#E6E473 #AFE673 #75E673
triadic
#AFE673 #73AFE6 #E673AF
tetradic
#AFE673 #73E6E4 #AA73E6 #E67375
square
#AFE673 #73E6E4 #AA73E6 #E67375
split-complementary
#AFE673 #7375E6 #E473E6
monochromatic
#73BD22 #91DD3F #AFE673 #CDEFA7 #EAF9DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFE673#FFFFFF#000000##000000
##AFE6731.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)
#EFD869
Deuteranopia (green-blind)
#E7D47A
Tritanopia (blue-blind)
#B2DECC
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #afe673;
/* rgb */ color: rgb(175, 230, 115);
/* oklch */ color: oklch(86.2% 0.156 130.2);
Tailwind
colors: {
  custom: {
    50: '#c9ee9e',
    500: '#afe673',
    950: '#000000',
  },
}
SCSS
$custom: #afe673;
$custom-light: #c9ee9e;
$custom-dark: #000000;
JSON
{
  "hex": "#afe673",
  "rgb": {
    "r": 175,
    "g": 230,
    "b": 115
  },
  "hsl": {
    "h": 88.696,
    "s": 69.697,
    "l": 67.647
  },
  "oklch": {
    "l": 0.86228,
    "c": 0.1563,
    "h": 130.2
  },
  "luminance": 0.66945
}

Semantic roles & 50–950 ramp

primary
#AFE673
secondary
#7C41BC
accent
#14D26F
background
#FEFFFC
surface
#FAFEF5
border
#D3D6CF
text
#13160E
muted
#83857F

Preview Lab

Preview with #AFE673

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

Preview Lab → · Contrast checker → · Palette generator →

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