#AFCD30#AFCD30

#AFCD30 is a light, vivid yellow-green. Relative luminance 0.530; OKLCH L 79.9% C 0.175 H 120.3°. Best body text is #000000 at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#AFCD30
RGBrgb(175, 205, 48)
HSLhsl(71, 62%, 50%)
HSVhsv(71, 77%, 80%)
CMYKcmyk(14.6%, 0%, 76.6%, 19.6%)
CIE-LABlab(77.87, -29.77, 68.94)
CIE-LCHlch(77.87, 75.09, 113.36°)
OKLaboklab(79.91% -0.0885 0.1515)
OKLCHoklch(79.91% 0.175 120.3)
XYZxyz(40.0448, 52.9901, 10.9142)
Luminance0.5299 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCD30 #4E30CD
analogous
#CD9D30 #AFCD30 #61CD30
triadic
#AFCD30 #30AFCD #CD30AF
tetradic
#AFCD30 #30CD9D #4E30CD #CD3061
square
#AFCD30 #30CD9D #4E30CD #CD3061
split-complementary
#AFCD30 #3061CD #9D30CD
monochromatic
#5A6A19 #859B24 #AFCD30 #C3DA60 #D6E592

Accessibility & contrast

On white

1.81
#AFCD30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.60
#AFCD30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCD30
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCD30#FFFFFF#000000##000000
##AFCD301.001.8111.6011.60
#FFFFFF1.811.0021.0021.00
#00000011.6021.001.001.00
##00000011.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC100
Deuteranopia (green-blind)
#D7C13F
Tritanopia (blue-blind)
#B9C2B0
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #afcd30;
/* rgb */ color: rgb(175, 205, 48);
/* oklch */ color: oklch(79.9% 0.175 120.3);
Tailwind
colors: {
  custom: {
    50: '#cbdc75',
    500: '#afcd30',
    950: '#000000',
  },
}
SCSS
$custom: #afcd30;
$custom-light: #cbdc75;
$custom-dark: #000000;
JSON
{
  "hex": "#afcd30",
  "rgb": {
    "r": 175,
    "g": 205,
    "b": 48
  },
  "hsl": {
    "h": 71.465,
    "s": 62.055,
    "l": 49.608
  },
  "oklch": {
    "l": 0.79907,
    "c": 0.17546,
    "h": 120.3
  },
  "luminance": 0.5299
}

Semantic roles & 50–950 ramp

primary
#AFCD30
secondary
#3B2E74
accent
#43E562
background
#FEFEFB
surface
#FBFCF1
border
#D4D5CB
text
#141509
muted
#83847D

Preview Lab

Preview with #AFCD30

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

Preview Lab → · Contrast checker → · Palette generator →

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