#AFD67F#AFD67F

#AFD67F is a very light, vivid yellow-green. Relative luminance 0.587; OKLCH L 82.8% C 0.121 H 128.5°. Best body text is #000000 at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#AFD67F
RGBrgb(175, 214, 127)
HSLhsl(87, 51%, 67%)
HSVhsv(87, 41%, 84%)
CMYKcmyk(18.2%, 0%, 40.7%, 16.1%)
CIE-LABlab(81.15, -27.44, 38.80)
CIE-LCHlch(81.15, 47.52, 125.27°)
OKLaboklab(82.79% -0.0755 0.0949)
OKLCHoklch(82.79% 0.121 128.5)
XYZxyz(45.5560, 58.7388, 29.0122)
Luminance0.5874 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD67F #A67FD6
analogous
#D6D27F #AFD67F #84D67F
triadic
#AFD67F #7FAFD6 #D67FAF
tetradic
#AFD67F #7FD6D2 #A67FD6 #D67F84
square
#AFD67F #7FD6D2 #A67FD6 #D67F84
split-complementary
#AFD67F #7F84D6 #D27FD6
monochromatic
#73A635 #92C751 #AFD67F #CCE5AD #E9F4DC

Accessibility & contrast

On white

1.65
#AFD67F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.75
#AFD67F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD67F
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD67F#FFFFFF#000000##000000
##AFD67F1.001.6512.7512.75
#FFFFFF1.651.0021.0021.00
#00000012.7521.001.001.00
##00000012.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECB78
Deuteranopia (green-blind)
#D8C984
Tritanopia (blue-blind)
#B3CFC1
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #afd67f;
/* rgb */ color: rgb(175, 214, 127);
/* oklch */ color: oklch(82.8% 0.121 128.5);
Tailwind
colors: {
  custom: {
    50: '#c8e2a5',
    500: '#afd67f',
    950: '#000000',
  },
}
SCSS
$custom: #afd67f;
$custom-light: #c8e2a5;
$custom-dark: #000000;
JSON
{
  "hex": "#afd67f",
  "rgb": {
    "r": 175,
    "g": 214,
    "b": 127
  },
  "hsl": {
    "h": 86.897,
    "s": 51.479,
    "l": 66.863
  },
  "oklch": {
    "l": 0.82789,
    "c": 0.12128,
    "h": 128.5
  },
  "luminance": 0.58739
}

Semantic roles & 50–950 ramp

primary
#AFD67F
secondary
#7850AA
accent
#27BF6B
background
#FDFEFC
surface
#F9FCF6
border
#D2D5D0
text
#13150F
muted
#828480

Preview Lab

Preview with #AFD67F

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

Preview Lab → · Contrast checker → · Palette generator →

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