#AFCF39#AFCF39

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

Color values

HEX#AFCF39
RGBrgb(175, 207, 57)
HSLhsl(73, 61%, 52%)
HSVhsv(73, 72%, 81%)
CMYKcmyk(15.5%, 0%, 72.5%, 18.8%)
CIE-LABlab(78.48, -30.29, 66.60)
CIE-LCHlch(78.48, 73.17, 114.45°)
OKLaboklab(80.42% -0.0892 0.148)
OKLCHoklch(80.42% 0.173 121.1)
XYZxyz(40.7312, 54.0351, 12.1541)
Luminance0.5403 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCF39 #5939CF
analogous
#CFA439 #AFCF39 #64CF39
triadic
#AFCF39 #39AFCF #CF39AF
tetradic
#AFCF39 #39CFA4 #5939CF #CF3964
square
#AFCF39 #39CFA4 #5939CF #CF3964
split-complementary
#AFCF39 #3964CF #A439CF
monochromatic
#60721C #89A328 #AFCF39 #C3DB6A #D7E79C

Accessibility & contrast

On white

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

On black

11.81
#AFCF39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCF39
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCF39#FFFFFF#000000##000000
##AFCF391.001.7811.8111.81
#FFFFFF1.781.0021.0021.00
#00000011.8121.001.001.00
##00000011.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afcf39;
/* rgb */ color: rgb(175, 207, 57);
/* oklch */ color: oklch(80.4% 0.173 121.1);
Tailwind
colors: {
  custom: {
    50: '#cadd7a',
    500: '#afcf39',
    950: '#000000',
  },
}
SCSS
$custom: #afcf39;
$custom-light: #cadd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#afcf39",
  "rgb": {
    "r": 175,
    "g": 207,
    "b": 57
  },
  "hsl": {
    "h": 72.8,
    "s": 60.976,
    "l": 51.765
  },
  "oklch": {
    "l": 0.80417,
    "c": 0.17284,
    "h": 121.1
  },
  "luminance": 0.54035
}

Semantic roles & 50–950 ramp

primary
#AFCF39
secondary
#41317B
accent
#44E466
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFCF39

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

Preview Lab → · Contrast checker → · Palette generator →

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