#AFD436#AFD436

#AFD436 is a light, vivid yellow-green. Relative luminance 0.565; OKLCH L 81.5% C 0.180 H 122.3°. Best body text is #000000 at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#AFD436
RGBrgb(175, 212, 54)
HSLhsl(74, 65%, 52%)
HSVhsv(74, 75%, 83%)
CMYKcmyk(17.5%, 0%, 74.5%, 16.9%)
CIE-LABlab(79.88, -32.77, 68.94)
CIE-LCHlch(79.88, 76.33, 115.42°)
OKLaboklab(81.54% -0.0963 0.1525)
OKLCHoklch(81.54% 0.18 122.3)
XYZxyz(41.8891, 56.4672, 12.1817)
Luminance0.5647 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD436 #5B36D4
analogous
#D4AA36 #AFD436 #60D436
triadic
#AFD436 #36AFD4 #D436AF
tetradic
#AFD436 #36D4AA #5B36D4 #D43660
square
#AFD436 #36D4AA #5B36D4 #D43660
split-complementary
#AFD436 #3660D4 #AA36D4
monochromatic
#617619 #8AA924 #AFD436 #C3DF68 #D7EA9B

Accessibility & contrast

On white

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

On black

12.29
#AFD436 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD436
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD436#FFFFFF#000000##000000
##AFD4361.001.7112.2912.29
#FFFFFF1.711.0021.0021.00
#00000012.2921.001.001.00
##00000012.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C711
Deuteranopia (green-blind)
#DCC645
Tritanopia (blue-blind)
#B8C9B6
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #afd436;
/* rgb */ color: rgb(175, 212, 54);
/* oklch */ color: oklch(81.5% 0.180 122.3);
Tailwind
colors: {
  custom: {
    50: '#cbe179',
    500: '#afd436',
    950: '#000000',
  },
}
SCSS
$custom: #afd436;
$custom-light: #cbe179;
$custom-dark: #000000;
JSON
{
  "hex": "#afd436",
  "rgb": {
    "r": 175,
    "g": 212,
    "b": 54
  },
  "hsl": {
    "h": 74.051,
    "s": 64.754,
    "l": 52.157
  },
  "oklch": {
    "l": 0.81539,
    "c": 0.18033,
    "h": 122.3
  },
  "luminance": 0.56467
}

Semantic roles & 50–950 ramp

primary
#AFD436
secondary
#42307F
accent
#40E867
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFD436

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

Preview Lab → · Contrast checker → · Palette generator →

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