#AFD35F#AFD35F

#AFD35F is a light, vivid yellow-green. Relative luminance 0.565; OKLCH L 81.7% C 0.149 H 124.0°. Best body text is #000000 at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#AFD35F
RGBrgb(175, 211, 95)
HSLhsl(79, 57%, 60%)
HSVhsv(79, 55%, 83%)
CMYKcmyk(17.1%, 0%, 55%, 17.3%)
CIE-LABlab(79.91, -29.47, 52.70)
CIE-LCHlch(79.91, 60.38, 119.21°)
OKLaboklab(81.67% -0.0835 0.1236)
OKLCHoklch(81.67% 0.149 124)
XYZxyz(43.0392, 56.5284, 19.4679)
Luminance0.5653 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD35F #835FD3
analogous
#D3BD5F #AFD35F #75D35F
triadic
#AFD35F #5FAFD3 #D35FAF
tetradic
#AFD35F #5FD3BD #835FD3 #D35F75
square
#AFD35F #5FD3BD #835FD3 #D35F75
split-complementary
#AFD35F #5F75D3 #BD5FD3
monochromatic
#709028 #95C035 #AFD35F #C7E08F #DFEDBF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFD35F#FFFFFF#000000##000000
##AFD35F1.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)
#DEC753
Deuteranopia (green-blind)
#D9C666
Tritanopia (blue-blind)
#B6CAB9
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #afd35f;
/* rgb */ color: rgb(175, 211, 95);
/* oklch */ color: oklch(81.7% 0.149 124.0);
Tailwind
colors: {
  custom: {
    50: '#c9e090',
    500: '#afd35f',
    950: '#000000',
  },
}
SCSS
$custom: #afd35f;
$custom-light: #c9e090;
$custom-dark: #000000;
JSON
{
  "hex": "#afd35f",
  "rgb": {
    "r": 175,
    "g": 211,
    "b": 95
  },
  "hsl": {
    "h": 78.621,
    "s": 56.863,
    "l": 60
  },
  "oklch": {
    "l": 0.81668,
    "c": 0.14914,
    "h": 124
  },
  "luminance": 0.56529
}

Semantic roles & 50–950 ramp

primary
#AFD35F
secondary
#5B4096
accent
#48E077
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFD35F

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

Preview Lab → · Contrast checker → · Palette generator →

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