#AFD93D#AFD93D

#AFD93D 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#AFD93D
RGBrgb(175, 217, 61)
HSLhsl(76, 67%, 55%)
HSVhsv(76, 72%, 85%)
CMYKcmyk(19.4%, 0%, 71.9%, 14.9%)
CIE-LABlab(81.33, -34.71, 68.00)
CIE-LCHlch(81.33, 76.35, 117.04°)
OKLaboklab(82.73% -0.101 0.1516)
OKLCHoklch(82.73% 0.182 123.7)
XYZxyz(43.3348, 59.0763, 13.5338)
Luminance0.5908 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD93D #673DD9
analogous
#D9B53D #AFD93D #61D93D
triadic
#AFD93D #3DAFD9 #D93DAF
tetradic
#AFD93D #3DD9B5 #673DD9 #D93D61
square
#AFD93D #3DD9B5 #673DD9 #D93D61
split-complementary
#AFD93D #3D61D9 #B53DD9
monochromatic
#668219 #8EB524 #AFD93D #C4E370 #D9EDA3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFD93D#FFFFFF#000000##000000
##AFD93D1.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)
#E5CB1F
Deuteranopia (green-blind)
#E0CA4B
Tritanopia (blue-blind)
#B8CEBB
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #afd93d;
/* rgb */ color: rgb(175, 217, 61);
/* oklch */ color: oklch(82.7% 0.182 123.7);
Tailwind
colors: {
  custom: {
    50: '#cbe47d',
    500: '#afd93d',
    950: '#000000',
  },
}
SCSS
$custom: #afd93d;
$custom-light: #cbe47d;
$custom-dark: #000000;
JSON
{
  "hex": "#afd93d",
  "rgb": {
    "r": 175,
    "g": 217,
    "b": 61
  },
  "hsl": {
    "h": 76.154,
    "s": 67.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.82726,
    "c": 0.1822,
    "h": 123.7
  },
  "luminance": 0.59077
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFD93D

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

Preview Lab → · Contrast checker → · Palette generator →

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