#AFC457#AFC457

#AFC457 is a light, vivid yellow-green. Relative luminance 0.493; OKLCH L 78.2% C 0.137 H 118.8°. Best body text is #000000 at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#AFC457
RGBrgb(175, 196, 87)
HSLhsl(72, 48%, 55%)
HSVhsv(72, 56%, 77%)
CMYKcmyk(10.7%, 0%, 55.6%, 23.1%)
CIE-LABlab(75.63, -22.95, 51.42)
CIE-LCHlch(75.63, 56.31, 114.05°)
OKLaboklab(78.2% -0.066 0.1201)
OKLCHoklch(78.2% 0.137 118.8)
XYZxyz(39.1399, 49.2822, 16.4655)
Luminance0.4928 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC457 #6C57C4
analogous
#C4A357 #AFC457 #78C457
triadic
#AFC457 #57AFC4 #C457AF
tetradic
#AFC457 #57C4A3 #6C57C4 #C45778
square
#AFC457 #57C4A3 #6C57C4 #C45778
split-complementary
#AFC457 #5778C4 #A357C4
monochromatic
#68772A #90A43A #AFC457 #C5D484 #DAE4B2

Accessibility & contrast

On white

1.93
#AFC457 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.86
#AFC457 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC457
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC457#FFFFFF#000000##000000
##AFC4571.001.9310.8610.86
#FFFFFF1.931.0021.0021.00
#00000010.8621.001.001.00
##00000010.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBA4C
Deuteranopia (green-blind)
#CDBB5E
Tritanopia (blue-blind)
#B8BBAC
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #afc457;
/* rgb */ color: rgb(175, 196, 87);
/* oklch */ color: oklch(78.2% 0.137 118.8);
Tailwind
colors: {
  custom: {
    50: '#c9d58a',
    500: '#afc457',
    950: '#000000',
  },
}
SCSS
$custom: #afc457;
$custom-light: #c9d58a;
$custom-dark: #000000;
JSON
{
  "hex": "#afc457",
  "rgb": {
    "r": 175,
    "g": 196,
    "b": 87
  },
  "hsl": {
    "h": 71.56,
    "s": 48.018,
    "l": 55.49
  },
  "oklch": {
    "l": 0.78195,
    "c": 0.13698,
    "h": 118.8
  },
  "luminance": 0.49282
}

Semantic roles & 50–950 ramp

primary
#AFC457
secondary
#ADA5D2
accent
#50D86A
background
#FCFDF8
surface
#F9FAF0
border
#D2D3CB
text
#13140C
muted
#82837D

Preview Lab

Preview with #AFC457

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

Preview Lab → · Contrast checker → · Palette generator →

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