#AFCF3C#AFCF3C

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

Color values

HEX#AFCF3C
RGBrgb(175, 207, 60)
HSLhsl(73, 60%, 52%)
HSVhsv(73, 71%, 81%)
CMYKcmyk(15.5%, 0%, 71%, 18.8%)
CIE-LABlab(78.50, -30.13, 65.57)
CIE-LCHlch(78.50, 72.16, 114.68°)
OKLaboklab(80.44% -0.0885 0.1464)
OKLCHoklch(80.44% 0.171 121.2)
XYZxyz(40.8083, 54.0659, 12.5600)
Luminance0.5407 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCF3C #5C3CCF
analogous
#CFA53C #AFCF3C #66CF3C
triadic
#AFCF3C #3CAFCF #CF3CAF
tetradic
#AFCF3C #3CCFA5 #5C3CCF #CF3C66
square
#AFCF3C #3CCFA5 #5C3CCF #CF3C66
split-complementary
#AFCF3C #3C66CF #A53CCF
monochromatic
#61741D #8AA529 #AFCF3C #C3DB6D #D7E79E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFCF3C#FFFFFF#000000##000000
##AFCF3C1.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)
#DCC322
Deuteranopia (green-blind)
#D8C248
Tritanopia (blue-blind)
#B9C4B2
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #afcf3c;
/* rgb */ color: rgb(175, 207, 60);
/* oklch */ color: oklch(80.4% 0.171 121.2);
Tailwind
colors: {
  custom: {
    50: '#cadd7b',
    500: '#afcf3c',
    950: '#000000',
  },
}
SCSS
$custom: #afcf3c;
$custom-light: #cadd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#afcf3c",
  "rgb": {
    "r": 175,
    "g": 207,
    "b": 60
  },
  "hsl": {
    "h": 73.061,
    "s": 60.494,
    "l": 52.353
  },
  "oklch": {
    "l": 0.80437,
    "c": 0.17105,
    "h": 121.2
  },
  "luminance": 0.54066
}

Semantic roles & 50–950 ramp

primary
#AFCF3C
secondary
#43337D
accent
#44E467
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFCF3C

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

Preview Lab → · Contrast checker → · Palette generator →

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