#AFC857#AFC857

#AFC857 is a light, vivid yellow-green. Relative luminance 0.511; OKLCH L 79.1% C 0.142 H 120.2°. Best body text is #000000 at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#AFC857
RGBrgb(175, 200, 87)
HSLhsl(73, 51%, 56%)
HSVhsv(73, 57%, 78%)
CMYKcmyk(12.5%, 0%, 56.5%, 21.6%)
CIE-LABlab(76.75, -24.90, 52.70)
CIE-LCHlch(76.75, 58.29, 115.29°)
OKLaboklab(79.09% -0.0714 0.1228)
OKLCHoklch(79.09% 0.142 120.2)
XYZxyz(40.0542, 51.1108, 16.7702)
Luminance0.5111 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC857 #7057C8
analogous
#C8A957 #AFC857 #77C857
triadic
#AFC857 #57AFC8 #C857AF
tetradic
#AFC857 #57C8A9 #7057C8 #C85777
square
#AFC857 #57C8A9 #7057C8 #C85777
split-complementary
#AFC857 #5777C8 #A957C8
monochromatic
#6A7C29 #91AA38 #AFC857 #C5D785 #DBE6B3

Accessibility & contrast

On white

1.87
#AFC857 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.22
#AFC857 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC857
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC857#FFFFFF#000000##000000
##AFC8571.001.8711.2211.22
#FFFFFF1.871.0021.0021.00
#00000011.2221.001.001.00
##00000011.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BE4B
Deuteranopia (green-blind)
#D0BE5E
Tritanopia (blue-blind)
#B8BFAF
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #afc857;
/* rgb */ color: rgb(175, 200, 87);
/* oklch */ color: oklch(79.1% 0.142 120.2);
Tailwind
colors: {
  custom: {
    50: '#c9d88a',
    500: '#afc857',
    950: '#000000',
  },
}
SCSS
$custom: #afc857;
$custom-light: #c9d88a;
$custom-dark: #000000;
JSON
{
  "hex": "#afc857",
  "rgb": {
    "r": 175,
    "g": 200,
    "b": 87
  },
  "hsl": {
    "h": 73.274,
    "s": 50.673,
    "l": 56.275
  },
  "oklch": {
    "l": 0.79094,
    "c": 0.14206,
    "h": 120.2
  },
  "luminance": 0.51111
}

Semantic roles & 50–950 ramp

primary
#AFC857
secondary
#4E3F84
accent
#4EDA6D
background
#FEFEFC
surface
#FAFBF4
border
#D3D4CE
text
#13140C
muted
#83837F

Preview Lab

Preview with #AFC857

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

Preview Lab → · Contrast checker → · Palette generator →

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