#AFD93F#AFD93F

#AFD93F is a very light, vivid yellow-green. Relative luminance 0.591; OKLCH L 82.7% C 0.181 H 123.7°. Best body text is #000000 at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#AFD93F
RGBrgb(175, 217, 63)
HSLhsl(76, 67%, 55%)
HSVhsv(76, 71%, 85%)
CMYKcmyk(19.4%, 0%, 71%, 14.9%)
CIE-LABlab(81.35, -34.60, 67.32)
CIE-LCHlch(81.35, 75.69, 117.20°)
OKLaboklab(82.74% -0.1006 0.1505)
OKLCHoklch(82.74% 0.181 123.7)
XYZxyz(43.3897, 59.0982, 13.8229)
Luminance0.5910 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD93F #693FD9
analogous
#D9B63F #AFD93F #62D93F
triadic
#AFD93F #3FAFD9 #D93FAF
tetradic
#AFD93F #3FD9B6 #693FD9 #D93F62
square
#AFD93F #3FD9B6 #693FD9 #D93F62
split-complementary
#AFD93F #3F62D9 #B63FD9
monochromatic
#67841A #8FB724 #AFD93F #C4E372 #DAEDA5

Accessibility & contrast

On white

1.64
#AFD93F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.82
#AFD93F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD93F
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD93F#FFFFFF#000000##000000
##AFD93F1.001.6412.8212.82
#FFFFFF1.641.0021.0021.00
#00000012.8221.001.001.00
##00000012.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CB24
Deuteranopia (green-blind)
#E0CA4C
Tritanopia (blue-blind)
#B7CEBB
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #afd93f;
/* rgb */ color: rgb(175, 217, 63);
/* oklch */ color: oklch(82.7% 0.181 123.7);
Tailwind
colors: {
  custom: {
    50: '#cbe47e',
    500: '#afd93f',
    950: '#000000',
  },
}
SCSS
$custom: #afd93f;
$custom-light: #cbe47e;
$custom-dark: #000000;
JSON
{
  "hex": "#afd93f",
  "rgb": {
    "r": 175,
    "g": 217,
    "b": 63
  },
  "hsl": {
    "h": 76.364,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.8274,
    "c": 0.181,
    "h": 123.7
  },
  "luminance": 0.59099
}

Semantic roles & 50–950 ramp

primary
#AFD93F
secondary
#4A328A
accent
#3EEA6D
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFD93F

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

Preview Lab → · Contrast checker → · Palette generator →

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