#AFDA3B#AFDA3B

#AFDA3B is a very light, vivid yellow-green. Relative luminance 0.596; OKLCH L 82.9% C 0.185 H 123.8°. Best body text is #000000 at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#AFDA3B
RGBrgb(175, 218, 59)
HSLhsl(76, 68%, 54%)
HSVhsv(76, 73%, 85%)
CMYKcmyk(19.7%, 0%, 72.9%, 14.5%)
CIE-LABlab(81.61, -35.27, 68.95)
CIE-LCHlch(81.61, 77.45, 117.09°)
OKLaboklab(82.94% -0.1027 0.1533)
OKLCHoklch(82.94% 0.185 123.8)
XYZxyz(43.5405, 59.5722, 13.3416)
Luminance0.5957 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDA3B #663BDA
analogous
#DAB53B #AFDA3B #60DA3B
triadic
#AFDA3B #3BAFDA #DA3BAF
tetradic
#AFDA3B #3BDAB5 #663BDA #DA3B60
square
#AFDA3B #3BDAB5 #663BDA #DA3B60
split-complementary
#AFDA3B #3B60DA #B53BDA
monochromatic
#668219 #8EB622 #AFDA3B #C4E46E #D9EDA2

Accessibility & contrast

On white

1.63
#AFDA3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.91
#AFDA3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDA3B
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDA3B#FFFFFF#000000##000000
##AFDA3B1.001.6312.9112.91
#FFFFFF1.631.0021.0021.00
#00000012.9121.001.001.00
##00000012.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CC1A
Deuteranopia (green-blind)
#E1CA49
Tritanopia (blue-blind)
#B8CFBC
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #afda3b;
/* rgb */ color: rgb(175, 218, 59);
/* oklch */ color: oklch(82.9% 0.185 123.8);
Tailwind
colors: {
  custom: {
    50: '#cbe57c',
    500: '#afda3b',
    950: '#000000',
  },
}
SCSS
$custom: #afda3b;
$custom-light: #cbe57c;
$custom-dark: #000000;
JSON
{
  "hex": "#afda3b",
  "rgb": {
    "r": 175,
    "g": 218,
    "b": 59
  },
  "hsl": {
    "h": 76.226,
    "s": 68.24,
    "l": 54.314
  },
  "oklch": {
    "l": 0.82942,
    "c": 0.18454,
    "h": 123.8
  },
  "luminance": 0.59573
}

Semantic roles & 50–950 ramp

primary
#AFDA3B
secondary
#483089
accent
#3DEB6C
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFDA3B

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

Preview Lab → · Contrast checker → · Palette generator →

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