#AFD35D#AFD35D

#AFD35D is a light, vivid yellow-green. Relative luminance 0.565; OKLCH L 81.6% C 0.151 H 123.9°. Best body text is #000000 at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#AFD35D
RGBrgb(175, 211, 93)
HSLhsl(78, 57%, 60%)
HSVhsv(78, 56%, 83%)
CMYKcmyk(17.1%, 0%, 55.9%, 17.3%)
CIE-LABlab(79.89, -29.65, 53.58)
CIE-LCHlch(79.89, 61.24, 118.96°)
OKLaboklab(81.65% -0.0841 0.1253)
OKLCHoklch(81.65% 0.151 123.9)
XYZxyz(42.9494, 56.4925, 18.9953)
Luminance0.5649 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD35D #815DD3
analogous
#D3BC5D #AFD35D #74D35D
triadic
#AFD35D #5DAFD3 #D35DAF
tetradic
#AFD35D #5DD3BC #815DD3 #D35D74
square
#AFD35D #5DD3BC #815DD3 #D35D74
split-complementary
#AFD35D #5D74D3 #BC5DD3
monochromatic
#6F8F27 #95BF34 #AFD35D #C7E08D #DFEDBD

Accessibility & contrast

On white

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

On black

12.30
#AFD35D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD35D
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD35D#FFFFFF#000000##000000
##AFD35D1.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC751
Deuteranopia (green-blind)
#D9C665
Tritanopia (blue-blind)
#B6CAB9
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #afd35d;
/* rgb */ color: rgb(175, 211, 93);
/* oklch */ color: oklch(81.6% 0.151 123.9);
Tailwind
colors: {
  custom: {
    50: '#c9e08f',
    500: '#afd35d',
    950: '#000000',
  },
}
SCSS
$custom: #afd35d;
$custom-light: #c9e08f;
$custom-dark: #000000;
JSON
{
  "hex": "#afd35d",
  "rgb": {
    "r": 175,
    "g": 211,
    "b": 93
  },
  "hsl": {
    "h": 78.305,
    "s": 57.282,
    "l": 59.608
  },
  "oklch": {
    "l": 0.81645,
    "c": 0.15093,
    "h": 123.9
  },
  "luminance": 0.56493
}

Semantic roles & 50–950 ramp

primary
#AFD35D
secondary
#5A4095
accent
#47E176
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFD35D

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

Preview Lab → · Contrast checker → · Palette generator →

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