#AFCA34#AFCA34

#AFCA34 is a light, vivid yellow-green. Relative luminance 0.516; OKLCH L 79.2% C 0.170 H 119.5°. Best body text is #000000 at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#AFCA34
RGBrgb(175, 202, 52)
HSLhsl(71, 59%, 50%)
HSVhsv(71, 74%, 79%)
CMYKcmyk(13.4%, 0%, 74.3%, 20.8%)
CIE-LABlab(77.04, -28.17, 66.90)
CIE-LCHlch(77.04, 72.59, 112.84°)
OKLaboklab(79.25% -0.0838 0.1479)
OKLCHoklch(79.25% 0.17 119.5)
XYZxyz(39.4204, 51.6032, 11.1319)
Luminance0.5160 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCA34 #4F34CA
analogous
#CA9A34 #AFCA34 #64CA34
triadic
#AFCA34 #34AFCA #CA34AF
tetradic
#AFCA34 #34CA9A #4F34CA #CA3464
square
#AFCA34 #34CA9A #4F34CA #CA3464
split-complementary
#AFCA34 #3464CA #9A34CA
monochromatic
#5B691B #859927 #AFCA34 #C2D764 #D5E495

Accessibility & contrast

On white

1.86
#AFCA34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.32
#AFCA34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCA34
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCA34#FFFFFF#000000##000000
##AFCA341.001.8611.3211.32
#FFFFFF1.861.0021.0021.00
#00000011.3221.001.001.00
##00000011.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE12
Deuteranopia (green-blind)
#D4BF41
Tritanopia (blue-blind)
#B9BFAE
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #afca34;
/* rgb */ color: rgb(175, 202, 52);
/* oklch */ color: oklch(79.2% 0.170 119.5);
Tailwind
colors: {
  custom: {
    50: '#cbda77',
    500: '#afca34',
    950: '#000000',
  },
}
SCSS
$custom: #afca34;
$custom-light: #cbda77;
$custom-dark: #000000;
JSON
{
  "hex": "#afca34",
  "rgb": {
    "r": 175,
    "g": 202,
    "b": 52
  },
  "hsl": {
    "h": 70.8,
    "s": 59.055,
    "l": 49.804
  },
  "oklch": {
    "l": 0.79248,
    "c": 0.16995,
    "h": 119.5
  },
  "luminance": 0.51603
}

Semantic roles & 50–950 ramp

primary
#AFCA34
secondary
#3C3073
accent
#46E262
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #AFCA34

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

Preview Lab → · Contrast checker → · Palette generator →

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