#AFD770#AFD770

#AFD770 is a very light, vivid yellow-green. Relative luminance 0.589; OKLCH L 82.8% C 0.138 H 126.7°. Best body text is #000000 at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#AFD770
RGBrgb(175, 215, 112)
HSLhsl(83, 56%, 64%)
HSVhsv(83, 48%, 84%)
CMYKcmyk(18.6%, 0%, 47.9%, 15.7%)
CIE-LABlab(81.23, -29.67, 46.28)
CIE-LCHlch(81.23, 54.97, 122.66°)
OKLaboklab(82.79% -0.0826 0.111)
OKLCHoklch(82.79% 0.138 126.7)
XYZxyz(44.9040, 58.8842, 24.3261)
Luminance0.5888 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD770 #9870D7
analogous
#D7CC70 #AFD770 #7CD770
triadic
#AFD770 #70AFD7 #D770AF
tetradic
#AFD770 #70D7CC #9870D7 #D7707C
square
#AFD770 #70D7CC #9870D7 #D7707C
split-complementary
#AFD770 #707CD7 #CC70D7
monochromatic
#73A02D #94CA40 #AFD770 #CAE4A0 #E5F2D0

Accessibility & contrast

On white

1.64
#AFD770 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.78
#AFD770 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD770
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD770#FFFFFF#000000##000000
##AFD7701.001.6412.7812.78
#FFFFFF1.641.0021.0021.00
#00000012.7821.001.001.00
##00000012.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CB67
Deuteranopia (green-blind)
#DBC976
Tritanopia (blue-blind)
#B4CFBF
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #afd770;
/* rgb */ color: rgb(175, 215, 112);
/* oklch */ color: oklch(82.8% 0.138 126.7);
Tailwind
colors: {
  custom: {
    50: '#c9e39b',
    500: '#afd770',
    950: '#000000',
  },
}
SCSS
$custom: #afd770;
$custom-light: #c9e39b;
$custom-dark: #000000;
JSON
{
  "hex": "#afd770",
  "rgb": {
    "r": 175,
    "g": 215,
    "b": 112
  },
  "hsl": {
    "h": 83.301,
    "s": 56.284,
    "l": 64.118
  },
  "oklch": {
    "l": 0.82789,
    "c": 0.13834,
    "h": 126.7
  },
  "luminance": 0.58885
}

Semantic roles & 50–950 ramp

primary
#AFD770
secondary
#6B47A4
accent
#22C461
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150E
muted
#83847F

Preview Lab

Preview with #AFD770

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

Preview Lab → · Contrast checker → · Palette generator →

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