#AFD84B#AFD84B

#AFD84B is a very light, vivid yellow-green. Relative luminance 0.587; OKLCH L 82.6% C 0.172 H 124.0°. Best body text is #000000 at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#AFD84B
RGBrgb(175, 216, 75)
HSLhsl(77, 64%, 57%)
HSVhsv(77, 65%, 85%)
CMYKcmyk(19%, 0%, 65.3%, 15.3%)
CIE-LABlab(81.14, -33.39, 62.62)
CIE-LCHlch(81.14, 70.96, 118.07°)
OKLaboklab(82.6% -0.0962 0.1424)
OKLCHoklch(82.6% 0.172 124)
XYZxyz(43.5054, 58.7334, 15.6999)
Luminance0.5873 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD84B #744BD8
analogous
#D8BB4B #AFD84B #68D84B
triadic
#AFD84B #4BAFD8 #D84BAF
tetradic
#AFD84B #4BD8BB #744BD8 #D84B68
square
#AFD84B #4BD8BB #744BD8 #D84B68
split-complementary
#AFD84B #4B68D8 #BB4BD8
monochromatic
#6B8B1E #92BD29 #AFD84B #C5E37D #DCEEB0

Accessibility & contrast

On white

1.65
#AFD84B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.75
#AFD84B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD84B
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD84B#FFFFFF#000000##000000
##AFD84B1.001.6512.7512.75
#FFFFFF1.651.0021.0021.00
#00000012.7521.001.001.00
##00000012.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB38
Deuteranopia (green-blind)
#DEC956
Tritanopia (blue-blind)
#B7CEBB
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #afd84b;
/* rgb */ color: rgb(175, 216, 75);
/* oklch */ color: oklch(82.6% 0.172 124.0);
Tailwind
colors: {
  custom: {
    50: '#cae484',
    500: '#afd84b',
    950: '#000000',
  },
}
SCSS
$custom: #afd84b;
$custom-light: #cae484;
$custom-dark: #000000;
JSON
{
  "hex": "#afd84b",
  "rgb": {
    "r": 175,
    "g": 216,
    "b": 75
  },
  "hsl": {
    "h": 77.447,
    "s": 64.384,
    "l": 57.059
  },
  "oklch": {
    "l": 0.82604,
    "c": 0.17181,
    "h": 124
  },
  "luminance": 0.58734
}

Semantic roles & 50–950 ramp

primary
#AFD84B
secondary
#513790
accent
#40E771
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFD84B

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

Preview Lab → · Contrast checker → · Palette generator →

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