#AFCD57#AFCD57

#AFCD57 is a light, vivid yellow-green. Relative luminance 0.535; OKLCH L 80.2% C 0.148 H 121.8°. Best body text is #000000 at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#AFCD57
RGBrgb(175, 205, 87)
HSLhsl(75, 54%, 57%)
HSVhsv(75, 58%, 80%)
CMYKcmyk(14.6%, 0%, 57.6%, 19.6%)
CIE-LABlab(78.15, -27.31, 54.29)
CIE-LCHlch(78.15, 60.77, 116.71°)
OKLaboklab(80.22% -0.0782 0.1262)
OKLCHoklch(80.22% 0.148 121.8)
XYZxyz(41.2312, 53.4647, 17.1626)
Luminance0.5346 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCD57 #7557CD
analogous
#CDB057 #AFCD57 #74CD57
triadic
#AFCD57 #57AFCD #CD57AF
tetradic
#AFCD57 #57CDB0 #7557CD #CD5774
square
#AFCD57 #57CDB0 #7557CD #CD5774
split-complementary
#AFCD57 #5774CD #B057CD
monochromatic
#6B8327 #92B235 #AFCD57 #C5DB86 #DCE9B5

Accessibility & contrast

On white

1.80
#AFCD57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.69
#AFCD57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCD57
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCD57#FFFFFF#000000##000000
##AFCD571.001.8011.6911.69
#FFFFFF1.801.0021.0021.00
#00000011.6921.001.001.00
##00000011.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C24A
Deuteranopia (green-blind)
#D4C15F
Tritanopia (blue-blind)
#B7C3B3
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #afcd57;
/* rgb */ color: rgb(175, 205, 87);
/* oklch */ color: oklch(80.2% 0.148 121.8);
Tailwind
colors: {
  custom: {
    50: '#c9dc8a',
    500: '#afcd57',
    950: '#000000',
  },
}
SCSS
$custom: #afcd57;
$custom-light: #c9dc8a;
$custom-dark: #000000;
JSON
{
  "hex": "#afcd57",
  "rgb": {
    "r": 175,
    "g": 205,
    "b": 87
  },
  "hsl": {
    "h": 75.254,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.80221,
    "c": 0.14845,
    "h": 121.8
  },
  "luminance": 0.53465
}

Semantic roles & 50–950 ramp

primary
#AFCD57
secondary
#513E8A
accent
#4ADD70
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFCD57

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

Preview Lab → · Contrast checker → · Palette generator →

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