#AFD93A#AFD93A

#AFD93A is a very light, vivid yellow-green. Relative luminance 0.590; OKLCH L 82.7% C 0.184 H 123.6°. Best body text is #000000 at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#AFD93A
RGBrgb(175, 217, 58)
HSLhsl(76, 68%, 54%)
HSVhsv(76, 73%, 85%)
CMYKcmyk(19.4%, 0%, 73.3%, 14.9%)
CIE-LABlab(81.32, -34.87, 69.00)
CIE-LCHlch(81.32, 77.31, 116.81°)
OKLaboklab(82.71% -0.1017 0.1533)
OKLCHoklch(82.71% 0.184 123.6)
XYZxyz(43.2563, 59.0449, 13.1201)
Luminance0.5905 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD93A #643AD9
analogous
#D9B43A #AFD93A #60D93A
triadic
#AFD93A #3AAFD9 #D93AAF
tetradic
#AFD93A #3AD9B4 #643AD9 #D93A60
square
#AFD93A #3AD9B4 #643AD9 #D93A60
split-complementary
#AFD93A #3A60D9 #B43AD9
monochromatic
#658019 #8DB323 #AFD93A #C4E36D #D9EDA1

Accessibility & contrast

On white

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

On black

12.81
#AFD93A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD93A
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD93A#FFFFFF#000000##000000
##AFD93A1.001.6412.8112.81
#FFFFFF1.641.0021.0021.00
#00000012.8121.001.001.00
##00000012.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CB19
Deuteranopia (green-blind)
#E0CA49
Tritanopia (blue-blind)
#B8CEBB
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #afd93a;
/* rgb */ color: rgb(175, 217, 58);
/* oklch */ color: oklch(82.7% 0.184 123.6);
Tailwind
colors: {
  custom: {
    50: '#cbe47b',
    500: '#afd93a',
    950: '#000000',
  },
}
SCSS
$custom: #afd93a;
$custom-light: #cbe47b;
$custom-dark: #000000;
JSON
{
  "hex": "#afd93a",
  "rgb": {
    "r": 175,
    "g": 217,
    "b": 58
  },
  "hsl": {
    "h": 75.849,
    "s": 67.66,
    "l": 53.922
  },
  "oklch": {
    "l": 0.82707,
    "c": 0.18393,
    "h": 123.6
  },
  "luminance": 0.59045
}

Semantic roles & 50–950 ramp

primary
#AFD93A
secondary
#473087
accent
#3DEB6B
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFD93A

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

Preview Lab → · Contrast checker → · Palette generator →

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