#AFCA57#AFCA57

#AFCA57 is a light, vivid yellow-green. Relative luminance 0.520; OKLCH L 79.5% C 0.145 H 120.8°. Best body text is #000000 at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#AFCA57
RGBrgb(175, 202, 87)
HSLhsl(74, 52%, 57%)
HSVhsv(74, 57%, 79%)
CMYKcmyk(13.4%, 0%, 56.9%, 20.8%)
CIE-LABlab(77.31, -25.87, 53.34)
CIE-LCHlch(77.31, 59.28, 115.88°)
OKLaboklab(79.54% -0.0741 0.1242)
OKLCHoklch(79.54% 0.145 120.8)
XYZxyz(40.5204, 52.0432, 16.9256)
Luminance0.5204 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCA57 #7257CA
analogous
#CAAC57 #AFCA57 #76CA57
triadic
#AFCA57 #57AFCA #CA57AF
tetradic
#AFCA57 #57CAAC #7257CA #CA5776
square
#AFCA57 #57CAAC #7257CA #CA5776
split-complementary
#AFCA57 #5776CA #AC57CA
monochromatic
#6A7F28 #91AD37 #AFCA57 #C5D986 #DBE7B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFCA57#FFFFFF#000000##000000
##AFCA571.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)
#D5BF4B
Deuteranopia (green-blind)
#D2BF5E
Tritanopia (blue-blind)
#B7C1B1
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #afca57;
/* rgb */ color: rgb(175, 202, 87);
/* oklch */ color: oklch(79.5% 0.145 120.8);
Tailwind
colors: {
  custom: {
    50: '#c9da8a',
    500: '#afca57',
    950: '#000000',
  },
}
SCSS
$custom: #afca57;
$custom-light: #c9da8a;
$custom-dark: #000000;
JSON
{
  "hex": "#afca57",
  "rgb": {
    "r": 175,
    "g": 202,
    "b": 87
  },
  "hsl": {
    "h": 74.087,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.79544,
    "c": 0.14461,
    "h": 120.8
  },
  "luminance": 0.52043
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFCA57

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

Preview Lab → · Contrast checker → · Palette generator →

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