#AFDF35#AFDF35

#AFDF35 is a very light, vivid yellow-green. Relative luminance 0.621; OKLCH L 84.1% C 0.194 H 124.7°. Best body text is #000000 at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#AFDF35
RGBrgb(175, 223, 53)
HSLhsl(77, 73%, 54%)
HSVhsv(77, 76%, 87%)
CMYKcmyk(21.5%, 0%, 76.2%, 12.5%)
CIE-LABlab(82.99, -37.83, 72.17)
CIE-LCHlch(82.99, 81.49, 117.66°)
OKLaboklab(84.05% -0.1102 0.1591)
OKLCHoklch(84.05% 0.194 124.7)
XYZxyz(44.7099, 62.1459, 13.0073)
Luminance0.6215 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDF35 #6535DF
analogous
#DFBA35 #AFDF35 #5ADF35
triadic
#AFDF35 #35AFDF #DF35AF
tetradic
#AFDF35 #35DFBA #6535DF #DF355A
square
#AFDF35 #35DFBA #6535DF #DF355A
split-complementary
#AFDF35 #355ADF #BA35DF
monochromatic
#658515 #8DB91D #AFDF35 #C4E76A #D9F09F

Accessibility & contrast

On white

1.56
#AFDF35 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.43
#AFDF35 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDF35
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDF35#FFFFFF#000000##000000
##AFDF351.001.5613.4313.43
#FFFFFF1.561.0021.0021.00
#00000013.4321.001.001.00
##00000013.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD001
Deuteranopia (green-blind)
#E5CE46
Tritanopia (blue-blind)
#B7D4BF
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #afdf35;
/* rgb */ color: rgb(175, 223, 53);
/* oklch */ color: oklch(84.1% 0.194 124.7);
Tailwind
colors: {
  custom: {
    50: '#cbe97a',
    500: '#afdf35',
    950: '#000000',
  },
}
SCSS
$custom: #afdf35;
$custom-light: #cbe97a;
$custom-dark: #000000;
JSON
{
  "hex": "#afdf35",
  "rgb": {
    "r": 175,
    "g": 223,
    "b": 53
  },
  "hsl": {
    "h": 76.941,
    "s": 72.65,
    "l": 54.118
  },
  "oklch": {
    "l": 0.84054,
    "c": 0.19355,
    "h": 124.7
  },
  "luminance": 0.62146
}

Semantic roles & 50–950 ramp

primary
#AFDF35
secondary
#482D8B
accent
#38EF6C
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14160A
muted
#83847D

Preview Lab

Preview with #AFDF35

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

Preview Lab → · Contrast checker → · Palette generator →

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