#AFCD34#AFCD34

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

Color values

HEX#AFCD34
RGBrgb(175, 205, 52)
HSLhsl(72, 60%, 50%)
HSVhsv(72, 75%, 80%)
CMYKcmyk(14.6%, 0%, 74.6%, 19.6%)
CIE-LABlab(77.89, -29.59, 67.70)
CIE-LCHlch(77.89, 73.89, 113.61°)
OKLaboklab(79.93% -0.0877 0.1495)
OKLCHoklch(79.93% 0.173 120.4)
XYZxyz(40.1311, 53.0247, 11.3688)
Luminance0.5302 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCD34 #5234CD
analogous
#CD9F34 #AFCD34 #62CD34
triadic
#AFCD34 #34AFCD #CD34AF
tetradic
#AFCD34 #34CD9F #5234CD #CD3462
square
#AFCD34 #34CD9F #5234CD #CD3462
split-complementary
#AFCD34 #3462CD #9F34CD
monochromatic
#5C6C1B #869D27 #AFCD34 #C2D965 #D6E596

Accessibility & contrast

On white

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

On black

11.61
#AFCD34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCD34
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCD34#FFFFFF#000000##000000
##AFCD341.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC110
Deuteranopia (green-blind)
#D6C142
Tritanopia (blue-blind)
#B9C2B0
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #afcd34;
/* rgb */ color: rgb(175, 205, 52);
/* oklch */ color: oklch(79.9% 0.173 120.4);
Tailwind
colors: {
  custom: {
    50: '#cbdc77',
    500: '#afcd34',
    950: '#000000',
  },
}
SCSS
$custom: #afcd34;
$custom-light: #cbdc77;
$custom-dark: #000000;
JSON
{
  "hex": "#afcd34",
  "rgb": {
    "r": 175,
    "g": 205,
    "b": 52
  },
  "hsl": {
    "h": 71.765,
    "s": 60.474,
    "l": 50.392
  },
  "oklch": {
    "l": 0.7993,
    "c": 0.17336,
    "h": 120.4
  },
  "luminance": 0.53025
}

Semantic roles & 50–950 ramp

primary
#AFCD34
secondary
#3D3076
accent
#44E463
background
#FEFEFB
surface
#FBFCF1
border
#D4D5CB
text
#141509
muted
#83847D

Preview Lab

Preview with #AFCD34

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

Preview Lab → · Contrast checker → · Palette generator →

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