#AFCE57#AFCE57

#AFCE57 is a light, vivid yellow-green. Relative luminance 0.539; OKLCH L 80.4% C 0.150 H 122.1°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#AFCE57
RGBrgb(175, 206, 87)
HSLhsl(76, 55%, 57%)
HSVhsv(76, 58%, 81%)
CMYKcmyk(15%, 0%, 57.8%, 19.2%)
CIE-LABlab(78.43, -27.79, 54.61)
CIE-LCHlch(78.43, 61.27, 116.97°)
OKLaboklab(80.45% -0.0795 0.1269)
OKLCHoklch(80.45% 0.15 122.1)
XYZxyz(41.4711, 53.9446, 17.2425)
Luminance0.5394 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCE57 #7657CE
analogous
#CEB157 #AFCE57 #74CE57
triadic
#AFCE57 #57AFCE #CE57AF
tetradic
#AFCE57 #57CEB1 #7657CE #CE5774
square
#AFCE57 #57CEB1 #7657CE #CE5774
split-complementary
#AFCE57 #5774CE #B157CE
monochromatic
#6C8427 #92B334 #AFCE57 #C6DC86 #DCEAB6

Accessibility & contrast

On white

1.78
#AFCE57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.79
#AFCE57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCE57
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCE57#FFFFFF#000000##000000
##AFCE571.001.7811.7911.79
#FFFFFF1.781.0021.0021.00
#00000011.7921.001.001.00
##00000011.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C34A
Deuteranopia (green-blind)
#D5C25F
Tritanopia (blue-blind)
#B7C4B4
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #afce57;
/* rgb */ color: rgb(175, 206, 87);
/* oklch */ color: oklch(80.4% 0.150 122.1);
Tailwind
colors: {
  custom: {
    50: '#c9dd8a',
    500: '#afce57',
    950: '#000000',
  },
}
SCSS
$custom: #afce57;
$custom-light: #c9dd8a;
$custom-dark: #000000;
JSON
{
  "hex": "#afce57",
  "rgb": {
    "r": 175,
    "g": 206,
    "b": 87
  },
  "hsl": {
    "h": 75.63,
    "s": 54.839,
    "l": 57.451
  },
  "oklch": {
    "l": 0.80447,
    "c": 0.14973,
    "h": 122.1
  },
  "luminance": 0.53945
}

Semantic roles & 50–950 ramp

primary
#AFCE57
secondary
#523E8B
accent
#4ADE70
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFCE57

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

Preview Lab → · Contrast checker → · Palette generator →

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