#AFDA5B#AFDA5B

#AFDA5B is a very light, vivid yellow-green. Relative luminance 0.600; OKLCH L 83.2% C 0.162 H 125.5°. Best body text is #000000 at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#AFDA5B
RGBrgb(175, 218, 91)
HSLhsl(80, 63%, 61%)
HSVhsv(80, 58%, 85%)
CMYKcmyk(19.7%, 0%, 58.3%, 14.5%)
CIE-LABlab(81.84, -33.09, 56.69)
CIE-LCHlch(81.84, 65.64, 120.27°)
OKLaboklab(83.21% -0.0939 0.1318)
OKLCHoklch(83.21% 0.162 125.5)
XYZxyz(44.6390, 60.0116, 19.1271)
Luminance0.6001 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDA5B #865BDA
analogous
#DAC55B #AFDA5B #6FDA5B
triadic
#AFDA5B #5BAFDA #DA5BAF
tetradic
#AFDA5B #5BDAC5 #865BDA #DA5B6F
square
#AFDA5B #5BDAC5 #865BDA #DA5B6F
split-complementary
#AFDA5B #5B6FDA #C55BDA
monochromatic
#709822 #95CA2E #AFDA5B #C7E58D #E0F1BF

Accessibility & contrast

On white

1.62
#AFDA5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.00
#AFDA5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDA5B
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDA5B#FFFFFF#000000##000000
##AFDA5B1.001.6213.0013.00
#FFFFFF1.621.0021.0021.00
#00000013.0021.001.001.00
##00000013.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CD4D
Deuteranopia (green-blind)
#DFCB64
Tritanopia (blue-blind)
#B6D1BF
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #afda5b;
/* rgb */ color: rgb(175, 218, 91);
/* oklch */ color: oklch(83.2% 0.162 125.5);
Tailwind
colors: {
  custom: {
    50: '#c9e58e',
    500: '#afda5b',
    950: '#000000',
  },
}
SCSS
$custom: #afda5b;
$custom-light: #c9e58e;
$custom-dark: #000000;
JSON
{
  "hex": "#afda5b",
  "rgb": {
    "r": 175,
    "g": 218,
    "b": 91
  },
  "hsl": {
    "h": 80.315,
    "s": 63.184,
    "l": 60.588
  },
  "oklch": {
    "l": 0.83213,
    "c": 0.1618,
    "h": 125.5
  },
  "luminance": 0.60012
}

Semantic roles & 50–950 ramp

primary
#AFDA5B
secondary
#5D3D9D
accent
#1BCB56
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFDA5B

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

Preview Lab → · Contrast checker → · Palette generator →

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