#AFD440#AFD440

#AFD440 is a light, vivid yellow-green. Relative luminance 0.566; OKLCH L 81.6% C 0.174 H 122.6°. Best body text is #000000 at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#AFD440
RGBrgb(175, 212, 64)
HSLhsl(75, 63%, 54%)
HSVhsv(75, 70%, 83%)
CMYKcmyk(17.5%, 0%, 69.8%, 16.9%)
CIE-LABlab(79.94, -32.24, 65.56)
CIE-LCHlch(79.94, 73.06, 116.18°)
OKLaboklab(81.61% -0.094 0.147)
OKLCHoklch(81.61% 0.174 122.6)
XYZxyz(42.1486, 56.5709, 13.5483)
Luminance0.5657 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD440 #6540D4
analogous
#D4AF40 #AFD440 #65D440
triadic
#AFD440 #40AFD4 #D440AF
tetradic
#AFD440 #40D4AF #6540D4 #D44065
square
#AFD440 #40D4AF #6540D4 #D44065
split-complementary
#AFD440 #4065D4 #AF40D4
monochromatic
#657D1C #8DAF27 #AFD440 #C4DF72 #D9EAA4

Accessibility & contrast

On white

1.71
#AFD440 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.31
#AFD440 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD440
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD440#FFFFFF#000000##000000
##AFD4401.001.7112.3112.31
#FFFFFF1.711.0021.0021.00
#00000012.3121.001.001.00
##00000012.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C727
Deuteranopia (green-blind)
#DCC64C
Tritanopia (blue-blind)
#B8C9B7
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #afd440;
/* rgb */ color: rgb(175, 212, 64);
/* oklch */ color: oklch(81.6% 0.174 122.6);
Tailwind
colors: {
  custom: {
    50: '#cae17e',
    500: '#afd440',
    950: '#000000',
  },
}
SCSS
$custom: #afd440;
$custom-light: #cae17e;
$custom-dark: #000000;
JSON
{
  "hex": "#afd440",
  "rgb": {
    "r": 175,
    "g": 212,
    "b": 64
  },
  "hsl": {
    "h": 75,
    "s": 63.248,
    "l": 54.118
  },
  "oklch": {
    "l": 0.81605,
    "c": 0.17444,
    "h": 122.6
  },
  "luminance": 0.56571
}

Semantic roles & 50–950 ramp

primary
#AFD440
secondary
#483385
accent
#42E66B
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFD440

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

Preview Lab → · Contrast checker → · Palette generator →

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