#AFCC57#AFCC57

#AFCC57 is a light, vivid yellow-green. Relative luminance 0.530; OKLCH L 80.0% C 0.147 H 121.5°. Best body text is #000000 at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#AFCC57
RGBrgb(175, 204, 87)
HSLhsl(75, 53%, 57%)
HSVhsv(75, 57%, 80%)
CMYKcmyk(14.2%, 0%, 57.4%, 20%)
CIE-LABlab(77.87, -26.83, 53.97)
CIE-LCHlch(77.87, 60.27, 116.44°)
OKLaboklab(80% -0.0768 0.1255)
OKLCHoklch(80% 0.147 121.5)
XYZxyz(40.9927, 52.9878, 17.0831)
Luminance0.5299 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCC57 #7457CC
analogous
#CCAF57 #AFCC57 #74CC57
triadic
#AFCC57 #57AFCC #CC57AF
tetradic
#AFCC57 #57CCAF #7457CC #CC5774
square
#AFCC57 #57CCAF #7457CC #CC5774
split-complementary
#AFCC57 #5774CC #AF57CC
monochromatic
#6B8127 #92B036 #AFCC57 #C5DA86 #DCE9B5

Accessibility & contrast

On white

1.81
#AFCC57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.60
#AFCC57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCC57
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCC57#FFFFFF#000000##000000
##AFCC571.001.8111.6011.60
#FFFFFF1.811.0021.0021.00
#00000011.6021.001.001.00
##00000011.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C14B
Deuteranopia (green-blind)
#D4C15F
Tritanopia (blue-blind)
#B7C2B3
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #afcc57;
/* rgb */ color: rgb(175, 204, 87);
/* oklch */ color: oklch(80.0% 0.147 121.5);
Tailwind
colors: {
  custom: {
    50: '#c9db8a',
    500: '#afcc57',
    950: '#000000',
  },
}
SCSS
$custom: #afcc57;
$custom-light: #c9db8a;
$custom-dark: #000000;
JSON
{
  "hex": "#afcc57",
  "rgb": {
    "r": 175,
    "g": 204,
    "b": 87
  },
  "hsl": {
    "h": 74.872,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.79996,
    "c": 0.14717,
    "h": 121.5
  },
  "luminance": 0.52988
}

Semantic roles & 50–950 ramp

primary
#AFCC57
secondary
#513E89
accent
#4BDD6F
background
#FEFEFC
surface
#FAFBF4
border
#D3D4CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFCC57

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

Preview Lab → · Contrast checker → · Palette generator →

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