#AFD43A#AFD43A

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

Color values

HEX#AFD43A
RGBrgb(175, 212, 58)
HSLhsl(74, 64%, 53%)
HSVhsv(74, 73%, 83%)
CMYKcmyk(17.5%, 0%, 72.6%, 16.9%)
CIE-LABlab(79.90, -32.57, 67.64)
CIE-LCHlch(79.90, 75.07, 115.71°)
OKLaboklab(81.56% -0.0954 0.1504)
OKLCHoklch(81.56% 0.178 122.4)
XYZxyz(41.9870, 56.5063, 12.6970)
Luminance0.5651 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD43A #5F3AD4
analogous
#D4AC3A #AFD43A #62D43A
triadic
#AFD43A #3AAFD4 #D43AAF
tetradic
#AFD43A #3AD4AC #5F3AD4 #D43A62
square
#AFD43A #3AD4AC #5F3AD4 #D43A62
split-complementary
#AFD43A #3A62D4 #AC3AD4
monochromatic
#62791A #8BAB25 #AFD43A #C3DF6C #D8EA9E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFD43A#FFFFFF#000000##000000
##AFD43A1.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)
#E1C71B
Deuteranopia (green-blind)
#DCC648
Tritanopia (blue-blind)
#B8C9B6
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #afd43a;
/* rgb */ color: rgb(175, 212, 58);
/* oklch */ color: oklch(81.6% 0.178 122.4);
Tailwind
colors: {
  custom: {
    50: '#cbe17b',
    500: '#afd43a',
    950: '#000000',
  },
}
SCSS
$custom: #afd43a;
$custom-light: #cbe17b;
$custom-dark: #000000;
JSON
{
  "hex": "#afd43a",
  "rgb": {
    "r": 175,
    "g": 212,
    "b": 58
  },
  "hsl": {
    "h": 74.416,
    "s": 64.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.81563,
    "c": 0.17809,
    "h": 122.4
  },
  "luminance": 0.56506
}

Semantic roles & 50–950 ramp

primary
#AFD43A
secondary
#443181
accent
#41E769
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFD43A

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

Preview Lab → · Contrast checker → · Palette generator →

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