#AFD93E#AFD93E

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

Color values

HEX#AFD93E
RGBrgb(175, 217, 62)
HSLhsl(76, 67%, 55%)
HSVhsv(76, 71%, 85%)
CMYKcmyk(19.4%, 0%, 71.4%, 14.9%)
CIE-LABlab(81.34, -34.66, 67.66)
CIE-LCHlch(81.34, 76.02, 117.12°)
OKLaboklab(82.73% -0.1008 0.1511)
OKLCHoklch(82.73% 0.182 123.7)
XYZxyz(43.3620, 59.0872, 13.6770)
Luminance0.5909 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD93E #683ED9
analogous
#D9B63E #AFD93E #62D93E
triadic
#AFD93E #3EAFD9 #D93EAF
tetradic
#AFD93E #3ED9B6 #683ED9 #D93E62
square
#AFD93E #3ED9B6 #683ED9 #D93E62
split-complementary
#AFD93E #3E62D9 #B63ED9
monochromatic
#66831A #8EB624 #AFD93E #C4E371 #D9EDA4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFD93E#FFFFFF#000000##000000
##AFD93E1.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)
#E5CB22
Deuteranopia (green-blind)
#E0CA4C
Tritanopia (blue-blind)
#B7CEBB
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #afd93e;
/* rgb */ color: rgb(175, 217, 62);
/* oklch */ color: oklch(82.7% 0.182 123.7);
Tailwind
colors: {
  custom: {
    50: '#cbe47d',
    500: '#afd93e',
    950: '#000000',
  },
}
SCSS
$custom: #afd93e;
$custom-light: #cbe47d;
$custom-dark: #000000;
JSON
{
  "hex": "#afd93e",
  "rgb": {
    "r": 175,
    "g": 217,
    "b": 62
  },
  "hsl": {
    "h": 76.258,
    "s": 67.1,
    "l": 54.706
  },
  "oklch": {
    "l": 0.82733,
    "c": 0.18161,
    "h": 123.7
  },
  "luminance": 0.59087
}

Semantic roles & 50–950 ramp

primary
#AFD93E
secondary
#49328A
accent
#3EEA6C
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFD93E

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

Preview Lab → · Contrast checker → · Palette generator →

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