#AFD635#AFD635

#AFD635 is a light, vivid yellow-green. Relative luminance 0.575; OKLCH L 82.0% C 0.183 H 122.7°. Best body text is #000000 at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#AFD635
RGBrgb(175, 214, 53)
HSLhsl(75, 66%, 52%)
HSVhsv(75, 75%, 84%)
CMYKcmyk(18.2%, 0%, 75.2%, 16.1%)
CIE-LABlab(80.44, -33.74, 69.79)
CIE-LCHlch(80.44, 77.51, 115.80°)
OKLaboklab(81.99% -0.099 0.1541)
OKLCHoklch(81.99% 0.183 122.7)
XYZxyz(42.3690, 57.4640, 12.2270)
Luminance0.5746 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD635 #5C35D6
analogous
#D6AC35 #AFD635 #5FD635
triadic
#AFD635 #35AFD6 #D635AF
tetradic
#AFD635 #35D6AC #5C35D6 #D6355F
square
#AFD635 #35D6AC #5C35D6 #D6355F
split-complementary
#AFD635 #355FD6 #AC35D6
monochromatic
#617818 #8AAB23 #AFD635 #C3E068 #D7EB9B

Accessibility & contrast

On white

1.68
#AFD635 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.49
#AFD635 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD635
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD635#FFFFFF#000000##000000
##AFD6351.001.6812.4912.49
#FFFFFF1.681.0021.0021.00
#00000012.4921.001.001.00
##00000012.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3C90B
Deuteranopia (green-blind)
#DEC744
Tritanopia (blue-blind)
#B8CBB8
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #afd635;
/* rgb */ color: rgb(175, 214, 53);
/* oklch */ color: oklch(82.0% 0.183 122.7);
Tailwind
colors: {
  custom: {
    50: '#cbe278',
    500: '#afd635',
    950: '#000000',
  },
}
SCSS
$custom: #afd635;
$custom-light: #cbe278;
$custom-dark: #000000;
JSON
{
  "hex": "#afd635",
  "rgb": {
    "r": 175,
    "g": 214,
    "b": 53
  },
  "hsl": {
    "h": 74.534,
    "s": 66.255,
    "l": 52.353
  },
  "oklch": {
    "l": 0.8199,
    "c": 0.18316,
    "h": 122.7
  },
  "luminance": 0.57464
}

Semantic roles & 50–950 ramp

primary
#AFD635
secondary
#432F80
accent
#3FE968
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFD635

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

Preview Lab → · Contrast checker → · Palette generator →

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