#AFCA58#AFCA58

#AFCA58 is a light, vivid yellow-green. Relative luminance 0.521; OKLCH L 79.6% C 0.144 H 120.9°. Best body text is #000000 at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#AFCA58
RGBrgb(175, 202, 88)
HSLhsl(74, 52%, 57%)
HSVhsv(74, 56%, 79%)
CMYKcmyk(13.4%, 0%, 56.4%, 20.8%)
CIE-LABlab(77.32, -25.79, 52.90)
CIE-LCHlch(77.32, 58.85, 115.99°)
OKLaboklab(79.55% -0.0738 0.1233)
OKLCHoklch(79.55% 0.144 120.9)
XYZxyz(40.5616, 52.0597, 17.1423)
Luminance0.5206 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCA58 #7358CA
analogous
#CAAC58 #AFCA58 #76CA58
triadic
#AFCA58 #58AFCA #CA58AF
tetradic
#AFCA58 #58CAAC #7358CA #CA5876
square
#AFCA58 #58CAAC #7358CA #CA5876
split-complementary
#AFCA58 #5876CA #AC58CA
monochromatic
#6B7F28 #92AE37 #AFCA58 #C5D986 #DCE7B5

Accessibility & contrast

On white

1.84
#AFCA58 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.41
#AFCA58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCA58
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCA58#FFFFFF#000000##000000
##AFCA581.001.8411.4111.41
#FFFFFF1.841.0021.0021.00
#00000011.4121.001.001.00
##00000011.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF4C
Deuteranopia (green-blind)
#D2BF5F
Tritanopia (blue-blind)
#B7C1B1
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #afca58;
/* rgb */ color: rgb(175, 202, 88);
/* oklch */ color: oklch(79.6% 0.144 120.9);
Tailwind
colors: {
  custom: {
    50: '#c9da8b',
    500: '#afca58',
    950: '#000000',
  },
}
SCSS
$custom: #afca58;
$custom-light: #c9da8b;
$custom-dark: #000000;
JSON
{
  "hex": "#afca58",
  "rgb": {
    "r": 175,
    "g": 202,
    "b": 88
  },
  "hsl": {
    "h": 74.211,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.79555,
    "c": 0.14373,
    "h": 120.9
  },
  "luminance": 0.5206
}

Semantic roles & 50–950 ramp

primary
#AFCA58
secondary
#503F87
accent
#4DDB6E
background
#FEFEFC
surface
#FAFBF4
border
#D3D4CE
text
#13140C
muted
#83837F

Preview Lab

Preview with #AFCA58

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

Preview Lab → · Contrast checker → · Palette generator →

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