#AFCF3F#AFCF3F

#AFCF3F is a light, vivid yellow-green. Relative luminance 0.541; OKLCH L 80.5% C 0.169 H 121.3°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#AFCF3F
RGBrgb(175, 207, 63)
HSLhsl(73, 60%, 53%)
HSVhsv(73, 70%, 81%)
CMYKcmyk(15.5%, 0%, 69.6%, 18.8%)
CIE-LABlab(78.52, -29.96, 64.51)
CIE-LCHlch(78.52, 71.13, 114.91°)
OKLaboklab(80.46% -0.0878 0.1446)
OKLCHoklch(80.46% 0.169 121.3)
XYZxyz(40.8898, 54.0985, 12.9896)
Luminance0.5410 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCF3F #5F3FCF
analogous
#CFA73F #AFCF3F #67CF3F
triadic
#AFCF3F #3FAFCF #CF3FAF
tetradic
#AFCF3F #3FCFA7 #5F3FCF #CF3F67
square
#AFCF3F #3FCFA7 #5F3FCF #CF3F67
split-complementary
#AFCF3F #3F67CF #A73FCF
monochromatic
#62761E #8BA72A #AFCF3F #C3DB70 #D8E7A1

Accessibility & contrast

On white

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

On black

11.82
#AFCF3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCF3F
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCF3F#FFFFFF#000000##000000
##AFCF3F1.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC327
Deuteranopia (green-blind)
#D8C24B
Tritanopia (blue-blind)
#B8C4B3
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #afcf3f;
/* rgb */ color: rgb(175, 207, 63);
/* oklch */ color: oklch(80.5% 0.169 121.3);
Tailwind
colors: {
  custom: {
    50: '#cadd7d',
    500: '#afcf3f',
    950: '#000000',
  },
}
SCSS
$custom: #afcf3f;
$custom-light: #cadd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#afcf3f",
  "rgb": {
    "r": 175,
    "g": 207,
    "b": 63
  },
  "hsl": {
    "h": 73.333,
    "s": 60,
    "l": 52.941
  },
  "oklch": {
    "l": 0.80458,
    "c": 0.16915,
    "h": 121.3
  },
  "luminance": 0.54098
}

Semantic roles & 50–950 ramp

primary
#AFCF3F
secondary
#44347F
accent
#45E368
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFCF3F

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

Preview Lab → · Contrast checker → · Palette generator →

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