#AFD670#AFD670

#AFD670 is a very light, vivid yellow-green. Relative luminance 0.584; OKLCH L 82.6% C 0.137 H 126.4°. Best body text is #000000 at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#AFD670
RGBrgb(175, 214, 112)
HSLhsl(83, 55%, 64%)
HSVhsv(83, 48%, 84%)
CMYKcmyk(18.2%, 0%, 47.7%, 16.1%)
CIE-LABlab(80.95, -29.19, 45.93)
CIE-LCHlch(80.95, 54.43, 122.44°)
OKLaboklab(82.56% -0.0813 0.1102)
OKLCHoklch(82.56% 0.137 126.4)
XYZxyz(44.6502, 58.3765, 24.2415)
Luminance0.5838 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD670 #9770D6
analogous
#D6CA70 #AFD670 #7CD670
triadic
#AFD670 #70AFD6 #D670AF
tetradic
#AFD670 #70D6CA #9770D6 #D6707C
square
#AFD670 #70D6CA #9770D6 #D6707C
split-complementary
#AFD670 #707CD6 #CA70D6
monochromatic
#739E2D #94C840 #AFD670 #CAE4A0 #E4F1CF

Accessibility & contrast

On white

1.66
#AFD670 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.68
#AFD670 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD670
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD670#FFFFFF#000000##000000
##AFD6701.001.6612.6812.68
#FFFFFF1.661.0021.0021.00
#00000012.6821.001.001.00
##00000012.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCA67
Deuteranopia (green-blind)
#DAC876
Tritanopia (blue-blind)
#B4CEBE
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #afd670;
/* rgb */ color: rgb(175, 214, 112);
/* oklch */ color: oklch(82.6% 0.137 126.4);
Tailwind
colors: {
  custom: {
    50: '#c9e29b',
    500: '#afd670',
    950: '#000000',
  },
}
SCSS
$custom: #afd670;
$custom-light: #c9e29b;
$custom-dark: #000000;
JSON
{
  "hex": "#afd670",
  "rgb": {
    "r": 175,
    "g": 214,
    "b": 112
  },
  "hsl": {
    "h": 82.941,
    "s": 55.435,
    "l": 63.922
  },
  "oklch": {
    "l": 0.82563,
    "c": 0.13694,
    "h": 126.4
  },
  "luminance": 0.58377
}

Semantic roles & 50–950 ramp

primary
#AFD670
secondary
#6A48A3
accent
#23C360
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150E
muted
#83847F

Preview Lab

Preview with #AFD670

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

Preview Lab → · Contrast checker → · Palette generator →

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