#AFCA51#AFCA51

#AFCA51 is a light, vivid yellow-green. Relative luminance 0.519; OKLCH L 79.5% C 0.150 H 120.5°. Best body text is #000000 at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#AFCA51
RGBrgb(175, 202, 81)
HSLhsl(73, 53%, 55%)
HSVhsv(73, 60%, 79%)
CMYKcmyk(13.4%, 0%, 59.9%, 20.8%)
CIE-LABlab(77.25, -26.36, 55.93)
CIE-LCHlch(77.25, 61.83, 115.23°)
OKLaboklab(79.48% -0.0761 0.129)
OKLCHoklch(79.48% 0.15 120.5)
XYZxyz(40.2854, 51.9492, 15.6879)
Luminance0.5195 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCA51 #6C51CA
analogous
#CAA851 #AFCA51 #73CA51
triadic
#AFCA51 #51AFCA #CA51AF
tetradic
#AFCA51 #51CAA8 #6C51CA #CA5173
square
#AFCA51 #51CAA8 #6C51CA #CA5173
split-complementary
#AFCA51 #5173CA #A851CA
monochromatic
#687B25 #90AA34 #AFCA51 #C5D880 #DAE7AF

Accessibility & contrast

On white

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

On black

11.39
#AFCA51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCA51
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCA51#FFFFFF#000000##000000
##AFCA511.001.8411.3911.39
#FFFFFF1.841.0021.0021.00
#00000011.3921.001.001.00
##00000011.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF43
Deuteranopia (green-blind)
#D2BF59
Tritanopia (blue-blind)
#B8C0B0
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #afca51;
/* rgb */ color: rgb(175, 202, 81);
/* oklch */ color: oklch(79.5% 0.150 120.5);
Tailwind
colors: {
  custom: {
    50: '#c9da86',
    500: '#afca51',
    950: '#000000',
  },
}
SCSS
$custom: #afca51;
$custom-light: #c9da86;
$custom-dark: #000000;
JSON
{
  "hex": "#afca51",
  "rgb": {
    "r": 175,
    "g": 202,
    "b": 81
  },
  "hsl": {
    "h": 73.388,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.79481,
    "c": 0.14976,
    "h": 120.5
  },
  "luminance": 0.51949
}

Semantic roles & 50–950 ramp

primary
#AFCA51
secondary
#4C3C83
accent
#4BDD6C
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#13140B
muted
#83837E

Preview Lab

Preview with #AFCA51

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

Preview Lab → · Contrast checker → · Palette generator →

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