#AFCA62#AFCA62

#AFCA62 is a light, vivid yellow-green. Relative luminance 0.522; OKLCH L 79.7% C 0.134 H 121.6°. Best body text is #000000 at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#AFCA62
RGBrgb(175, 202, 98)
HSLhsl(76, 50%, 59%)
HSVhsv(76, 51%, 79%)
CMYKcmyk(13.4%, 0%, 51.5%, 20.8%)
CIE-LABlab(77.42, -24.88, 48.39)
CIE-LCHlch(77.42, 54.41, 117.21°)
OKLaboklab(79.68% -0.0703 0.1145)
OKLCHoklch(79.68% 0.134 121.6)
XYZxyz(41.0046, 52.2369, 19.4754)
Luminance0.5224 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCA62 #7D62CA
analogous
#CAB162 #AFCA62 #7BCA62
triadic
#AFCA62 #62AFCA #CA62AF
tetradic
#AFCA62 #62CAB1 #7D62CA #CA627B
square
#AFCA62 #62CAB1 #7D62CA #CA627B
split-complementary
#AFCA62 #627BCA #B162CA
monochromatic
#6E852D #94B33C #AFCA62 #C6D990 #DEE9BE

Accessibility & contrast

On white

1.83
#AFCA62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.45
#AFCA62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCA62
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCA62#FFFFFF#000000##000000
##AFCA621.001.8311.4511.45
#FFFFFF1.831.0021.0021.00
#00000011.4521.001.001.00
##00000011.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C058
Deuteranopia (green-blind)
#D1BF68
Tritanopia (blue-blind)
#B7C1B2
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #afca62;
/* rgb */ color: rgb(175, 202, 98);
/* oklch */ color: oklch(79.7% 0.134 121.6);
Tailwind
colors: {
  custom: {
    50: '#c9da91',
    500: '#afca62',
    950: '#000000',
  },
}
SCSS
$custom: #afca62;
$custom-light: #c9da91;
$custom-dark: #000000;
JSON
{
  "hex": "#afca62",
  "rgb": {
    "r": 175,
    "g": 202,
    "b": 98
  },
  "hsl": {
    "h": 75.577,
    "s": 49.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.79675,
    "c": 0.1344,
    "h": 121.6
  },
  "luminance": 0.52237
}

Semantic roles & 50–950 ramp

primary
#AFCA62
secondary
#57448C
accent
#4FD973
background
#FEFEFC
surface
#FAFBF4
border
#D3D4CE
text
#13140D
muted
#83837F

Preview Lab

Preview with #AFCA62

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

Preview Lab → · Contrast checker → · Palette generator →

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