#AFCF34#AFCF34

#AFCF34 is a light, vivid yellow-green. Relative luminance 0.540; OKLCH L 80.4% C 0.176 H 120.9°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#AFCF34
RGBrgb(175, 207, 52)
HSLhsl(72, 62%, 51%)
HSVhsv(72, 75%, 81%)
CMYKcmyk(15.5%, 0%, 74.9%, 18.8%)
CIE-LABlab(78.45, -30.53, 68.23)
CIE-LCHlch(78.45, 74.75, 114.11°)
OKLaboklab(80.38% -0.0903 0.1507)
OKLCHoklch(80.38% 0.176 120.9)
XYZxyz(40.6126, 53.9876, 11.5293)
Luminance0.5399 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCF34 #5434CF
analogous
#CFA134 #AFCF34 #61CF34
triadic
#AFCF34 #34AFCF #CF34AF
tetradic
#AFCF34 #34CFA1 #5434CF #CF3461
square
#AFCF34 #34CFA1 #5434CF #CF3461
split-complementary
#AFCF34 #3461CF #A134CF
monochromatic
#5D6E1A #87A026 #AFCF34 #C3DB65 #D6E697

Accessibility & contrast

On white

1.78
#AFCF34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.80
#AFCF34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCF34
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCF34#FFFFFF#000000##000000
##AFCF341.001.7811.8011.80
#FFFFFF1.781.0021.0021.00
#00000011.8021.001.001.00
##00000011.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC30E
Deuteranopia (green-blind)
#D8C242
Tritanopia (blue-blind)
#B9C4B2
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #afcf34;
/* rgb */ color: rgb(175, 207, 52);
/* oklch */ color: oklch(80.4% 0.176 120.9);
Tailwind
colors: {
  custom: {
    50: '#cbdd77',
    500: '#afcf34',
    950: '#000000',
  },
}
SCSS
$custom: #afcf34;
$custom-light: #cbdd77;
$custom-dark: #000000;
JSON
{
  "hex": "#afcf34",
  "rgb": {
    "r": 175,
    "g": 207,
    "b": 52
  },
  "hsl": {
    "h": 72.387,
    "s": 61.753,
    "l": 50.784
  },
  "oklch": {
    "l": 0.80385,
    "c": 0.17566,
    "h": 120.9
  },
  "luminance": 0.53988
}

Semantic roles & 50–950 ramp

primary
#AFCF34
secondary
#3E2F78
accent
#43E564
background
#FEFEFB
surface
#FBFCF1
border
#D4D5CB
text
#141509
muted
#83847D

Preview Lab

Preview with #AFCF34

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

Preview Lab → · Contrast checker → · Palette generator →

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