#AFE670#AFE670

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

Color values

HEX#AFE670
RGBrgb(175, 230, 112)
HSLhsl(88, 70%, 67%)
HSVhsv(88, 51%, 90%)
CMYKcmyk(23.9%, 0%, 51.3%, 9.8%)
CIE-LABlab(85.44, -36.60, 51.37)
CIE-LCHlch(85.44, 63.07, 125.47°)
OKLaboklab(86.19% -0.102 0.1222)
OKLCHoklch(86.19% 0.159 129.9)
XYZxyz(48.9002, 66.8764, 25.6582)
Luminance0.6688 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE670 #A770E6
analogous
#E6E270 #AFE670 #74E670
triadic
#AFE670 #70AFE6 #E670AF
tetradic
#AFE670 #70E6E2 #A770E6 #E67074
square
#AFE670 #70E6E2 #A770E6 #E67074
split-complementary
#AFE670 #7074E6 #E270E6
monochromatic
#73BB21 #92DD3C #AFE670 #CCEFA4 #E9F8D8

Accessibility & contrast

On white

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

On black

14.38
#AFE670 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE670
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE670#FFFFFF#000000##000000
##AFE6701.001.4614.3814.38
#FFFFFF1.461.0021.0021.00
#00000014.3821.001.001.00
##00000014.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD865
Deuteranopia (green-blind)
#E7D477
Tritanopia (blue-blind)
#B3DECB
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #afe670;
/* rgb */ color: rgb(175, 230, 112);
/* oklch */ color: oklch(86.2% 0.159 129.9);
Tailwind
colors: {
  custom: {
    50: '#c9ee9c',
    500: '#afe670',
    950: '#000000',
  },
}
SCSS
$custom: #afe670;
$custom-light: #c9ee9c;
$custom-dark: #000000;
JSON
{
  "hex": "#afe670",
  "rgb": {
    "r": 175,
    "g": 230,
    "b": 112
  },
  "hsl": {
    "h": 87.966,
    "s": 70.238,
    "l": 67.059
  },
  "oklch": {
    "l": 0.86189,
    "c": 0.15911,
    "h": 129.9
  },
  "luminance": 0.66877
}

Semantic roles & 50–950 ramp

primary
#AFE670
secondary
#7940BB
accent
#13D26C
background
#FEFFFC
surface
#FAFEF5
border
#D3D6CF
text
#13160E
muted
#83857F

Preview Lab

Preview with #AFE670

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

Preview Lab → · Contrast checker → · Palette generator →

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