#AFD94B#AFD94B

#AFD94B is a very light, vivid yellow-green. Relative luminance 0.592; OKLCH L 82.8% C 0.173 H 124.3°. Best body text is #000000 at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#AFD94B
RGBrgb(175, 217, 75)
HSLhsl(78, 65%, 57%)
HSVhsv(78, 65%, 85%)
CMYKcmyk(19.4%, 0%, 65.4%, 14.9%)
CIE-LABlab(81.43, -33.85, 62.91)
CIE-LCHlch(81.43, 71.44, 118.28°)
OKLaboklab(82.83% -0.0975 0.143)
OKLCHoklch(82.83% 0.173 124.3)
XYZxyz(43.7624, 59.2473, 15.7856)
Luminance0.5925 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD94B #754BD9
analogous
#D9BC4B #AFD94B #68D94B
triadic
#AFD94B #4BAFD9 #D94BAF
tetradic
#AFD94B #4BD9BC #754BD9 #D94B68
square
#AFD94B #4BD9BC #754BD9 #D94B68
split-complementary
#AFD94B #4B68D9 #BC4BD9
monochromatic
#6B8C1E #92BF28 #AFD94B #C5E47E #DCEEB0

Accessibility & contrast

On white

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

On black

12.85
#AFD94B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD94B
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD94B#FFFFFF#000000##000000
##AFD94B1.001.6312.8512.85
#FFFFFF1.631.0021.0021.00
#00000012.8521.001.001.00
##00000012.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CC38
Deuteranopia (green-blind)
#DFCA56
Tritanopia (blue-blind)
#B7CFBC
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #afd94b;
/* rgb */ color: rgb(175, 217, 75);
/* oklch */ color: oklch(82.8% 0.173 124.3);
Tailwind
colors: {
  custom: {
    50: '#cae584',
    500: '#afd94b',
    950: '#000000',
  },
}
SCSS
$custom: #afd94b;
$custom-light: #cae584;
$custom-dark: #000000;
JSON
{
  "hex": "#afd94b",
  "rgb": {
    "r": 175,
    "g": 217,
    "b": 75
  },
  "hsl": {
    "h": 77.746,
    "s": 65.138,
    "l": 57.255
  },
  "oklch": {
    "l": 0.82832,
    "c": 0.17304,
    "h": 124.3
  },
  "luminance": 0.59248
}

Semantic roles & 50–950 ramp

primary
#AFD94B
secondary
#513692
accent
#40E872
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFD94B

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

Preview Lab → · Contrast checker → · Palette generator →

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