#AFD93C#AFD93C

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

Color values

HEX#AFD93C
RGBrgb(175, 217, 60)
HSLhsl(76, 67%, 54%)
HSVhsv(76, 72%, 85%)
CMYKcmyk(19.4%, 0%, 72.4%, 14.9%)
CIE-LABlab(81.33, -34.76, 68.34)
CIE-LCHlch(81.33, 76.67, 116.96°)
OKLaboklab(82.72% -0.1013 0.1522)
OKLCHoklch(82.72% 0.183 123.6)
XYZxyz(43.3081, 59.0656, 13.3933)
Luminance0.5907 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD93C #663CD9
analogous
#D9B53C #AFD93C #61D93C
triadic
#AFD93C #3CAFD9 #D93CAF
tetradic
#AFD93C #3CD9B5 #663CD9 #D93C61
square
#AFD93C #3CD9B5 #663CD9 #D93C61
split-complementary
#AFD93C #3C61D9 #B53CD9
monochromatic
#668119 #8EB523 #AFD93C #C4E36F #D9EDA2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFD93C#FFFFFF#000000##000000
##AFD93C1.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)
#E5CB1D
Deuteranopia (green-blind)
#E0CA4A
Tritanopia (blue-blind)
#B8CEBB
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #afd93c;
/* rgb */ color: rgb(175, 217, 60);
/* oklch */ color: oklch(82.7% 0.183 123.6);
Tailwind
colors: {
  custom: {
    50: '#cbe47c',
    500: '#afd93c',
    950: '#000000',
  },
}
SCSS
$custom: #afd93c;
$custom-light: #cbe47c;
$custom-dark: #000000;
JSON
{
  "hex": "#afd93c",
  "rgb": {
    "r": 175,
    "g": 217,
    "b": 60
  },
  "hsl": {
    "h": 76.051,
    "s": 67.382,
    "l": 54.314
  },
  "oklch": {
    "l": 0.8272,
    "c": 0.18278,
    "h": 123.6
  },
  "luminance": 0.59066
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFD93C

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

Preview Lab → · Contrast checker → · Palette generator →

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