#AFCF62#AFCF62

#AFCF62 is a light, vivid yellow-green. Relative luminance 0.546; OKLCH L 80.8% C 0.141 H 123.1°. Best body text is #000000 at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#AFCF62
RGBrgb(175, 207, 98)
HSLhsl(78, 53%, 60%)
HSVhsv(78, 53%, 81%)
CMYKcmyk(15.5%, 0%, 52.7%, 18.8%)
CIE-LABlab(78.82, -27.29, 50.04)
CIE-LCHlch(78.82, 57.00, 118.60°)
OKLaboklab(80.8% -0.0771 0.1181)
OKLCHoklch(80.8% 0.141 123.1)
XYZxyz(42.1968, 54.6213, 19.8728)
Luminance0.5462 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCF62 #8262CF
analogous
#CFB962 #AFCF62 #78CF62
triadic
#AFCF62 #62AFCF #CF62AF
tetradic
#AFCF62 #62CFB9 #8262CF #CF6278
square
#AFCF62 #62CFB9 #8262CF #CF6278
split-complementary
#AFCF62 #6278CF #B962CF
monochromatic
#6F8C2B #95BB39 #AFCF62 #C7DD91 #DFECC0

Accessibility & contrast

On white

1.76
#AFCF62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.92
#AFCF62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCF62
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCF62#FFFFFF#000000##000000
##AFCF621.001.7611.9211.92
#FFFFFF1.761.0021.0021.00
#00000011.9221.001.001.00
##00000011.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C458
Deuteranopia (green-blind)
#D5C369
Tritanopia (blue-blind)
#B6C6B6
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #afcf62;
/* rgb */ color: rgb(175, 207, 98);
/* oklch */ color: oklch(80.8% 0.141 123.1);
Tailwind
colors: {
  custom: {
    50: '#c9dd91',
    500: '#afcf62',
    950: '#000000',
  },
}
SCSS
$custom: #afcf62;
$custom-light: #c9dd91;
$custom-dark: #000000;
JSON
{
  "hex": "#afcf62",
  "rgb": {
    "r": 175,
    "g": 207,
    "b": 98
  },
  "hsl": {
    "h": 77.615,
    "s": 53.171,
    "l": 59.804
  },
  "oklch": {
    "l": 0.808,
    "c": 0.14106,
    "h": 123.1
  },
  "luminance": 0.54621
}

Semantic roles & 50–950 ramp

primary
#AFCF62
secondary
#5A4392
accent
#4BDD76
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFCF62

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

Preview Lab → · Contrast checker → · Palette generator →

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