#AFD140#AFD140

#AFD140 is a light, vivid yellow-green. Relative luminance 0.551; OKLCH L 80.9% C 0.171 H 121.8°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#AFD140
RGBrgb(175, 209, 64)
HSLhsl(74, 61%, 54%)
HSVhsv(74, 69%, 82%)
CMYKcmyk(16.3%, 0%, 69.4%, 18%)
CIE-LABlab(79.09, -30.84, 64.71)
CIE-LCHlch(79.09, 71.69, 115.48°)
OKLaboklab(80.92% -0.0901 0.1452)
OKLCHoklch(80.92% 0.171 121.8)
XYZxyz(41.4056, 55.0850, 13.3006)
Luminance0.5508 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD140 #6240D1
analogous
#D1AA40 #AFD140 #66D140
triadic
#AFD140 #40AFD1 #D140AF
tetradic
#AFD140 #40D1AA #6240D1 #D14066
square
#AFD140 #40D1AA #6240D1 #D14066
split-complementary
#AFD140 #4066D1 #AA40D1
monochromatic
#64791D #8CAB29 #AFD140 #C4DD71 #D8E9A3

Accessibility & contrast

On white

1.75
#AFD140 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.02
#AFD140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD140
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD140#FFFFFF#000000##000000
##AFD1401.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC528
Deuteranopia (green-blind)
#D9C44C
Tritanopia (blue-blind)
#B8C6B4
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #afd140;
/* rgb */ color: rgb(175, 209, 64);
/* oklch */ color: oklch(80.9% 0.171 121.8);
Tailwind
colors: {
  custom: {
    50: '#cadf7d',
    500: '#afd140',
    950: '#000000',
  },
}
SCSS
$custom: #afd140;
$custom-light: #cadf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#afd140",
  "rgb": {
    "r": 175,
    "g": 209,
    "b": 64
  },
  "hsl": {
    "h": 74.069,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.80921,
    "c": 0.17087,
    "h": 121.8
  },
  "luminance": 0.55085
}

Semantic roles & 50–950 ramp

primary
#AFD140
secondary
#463481
accent
#44E469
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFD140

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

Preview Lab → · Contrast checker → · Palette generator →

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