#AFD370#AFD370

#AFD370 is a light, vivid yellow-green. Relative luminance 0.569; OKLCH L 81.9% C 0.133 H 125.6°. Best body text is #000000 at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#AFD370
RGBrgb(175, 211, 112)
HSLhsl(82, 53%, 63%)
HSVhsv(82, 47%, 83%)
CMYKcmyk(17.1%, 0%, 46.9%, 17.3%)
CIE-LABlab(80.11, -27.77, 44.91)
CIE-LCHlch(80.11, 52.80, 121.73°)
OKLaboklab(81.89% -0.0773 0.1079)
OKLCHoklch(81.89% 0.133 125.6)
XYZxyz(43.8979, 56.8719, 23.9908)
Luminance0.5687 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD370 #9470D3
analogous
#D3C570 #AFD370 #7DD370
triadic
#AFD370 #70AFD3 #D370AF
tetradic
#AFD370 #70D3C5 #9470D3 #D3707D
square
#AFD370 #70D3C5 #9470D3 #D3707D
split-complementary
#AFD370 #707DD3 #C570D3
monochromatic
#73992F #95C541 #AFD370 #C9E19F #E3F0CE

Accessibility & contrast

On white

1.70
#AFD370 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.37
#AFD370 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD370
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD370#FFFFFF#000000##000000
##AFD3701.001.7012.3712.37
#FFFFFF1.701.0021.0021.00
#00000012.3721.001.001.00
##00000012.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC868
Deuteranopia (green-blind)
#D7C676
Tritanopia (blue-blind)
#B5CBBC
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #afd370;
/* rgb */ color: rgb(175, 211, 112);
/* oklch */ color: oklch(81.9% 0.133 125.6);
Tailwind
colors: {
  custom: {
    50: '#c8e09b',
    500: '#afd370',
    950: '#000000',
  },
}
SCSS
$custom: #afd370;
$custom-light: #c8e09b;
$custom-dark: #000000;
JSON
{
  "hex": "#afd370",
  "rgb": {
    "r": 175,
    "g": 211,
    "b": 112
  },
  "hsl": {
    "h": 81.818,
    "s": 52.941,
    "l": 63.333
  },
  "oklch": {
    "l": 0.81887,
    "c": 0.13274,
    "h": 125.6
  },
  "luminance": 0.56872
}

Semantic roles & 50–950 ramp

primary
#AFD370
secondary
#68499E
accent
#25C05E
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150E
muted
#83847F

Preview Lab

Preview with #AFD370

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

Preview Lab → · Contrast checker → · Palette generator →

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