#AFD43B#AFD43B

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

Color values

HEX#AFD43B
RGBrgb(175, 212, 59)
HSLhsl(75, 64%, 53%)
HSVhsv(75, 72%, 83%)
CMYKcmyk(17.5%, 0%, 72.2%, 16.9%)
CIE-LABlab(79.91, -32.52, 67.30)
CIE-LCHlch(79.91, 74.74, 115.79°)
OKLaboklab(81.57% -0.0952 0.1498)
OKLCHoklch(81.57% 0.178 122.4)
XYZxyz(42.0127, 56.5166, 12.8323)
Luminance0.5652 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD43B #603BD4
analogous
#D4AD3B #AFD43B #62D43B
triadic
#AFD43B #3BAFD4 #D43BAF
tetradic
#AFD43B #3BD4AD #603BD4 #D43B62
square
#AFD43B #3BD4AD #603BD4 #D43B62
split-complementary
#AFD43B #3B62D4 #AD3BD4
monochromatic
#637A1B #8CAC26 #AFD43B #C3DF6D #D8EA9F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #afd43b;
/* rgb */ color: rgb(175, 212, 59);
/* oklch */ color: oklch(81.6% 0.177 122.4);
Tailwind
colors: {
  custom: {
    50: '#cbe17b',
    500: '#afd43b',
    950: '#000000',
  },
}
SCSS
$custom: #afd43b;
$custom-light: #cbe17b;
$custom-dark: #000000;
JSON
{
  "hex": "#afd43b",
  "rgb": {
    "r": 175,
    "g": 212,
    "b": 59
  },
  "hsl": {
    "h": 74.51,
    "s": 64.017,
    "l": 53.137
  },
  "oklch": {
    "l": 0.8157,
    "c": 0.1775,
    "h": 122.4
  },
  "luminance": 0.56517
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFD43B

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

Preview Lab → · Contrast checker → · Palette generator →

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