#AFC858#AFC858

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

Color values

HEX#AFC858
RGBrgb(175, 200, 88)
HSLhsl(73, 50%, 56%)
HSVhsv(73, 56%, 78%)
CMYKcmyk(12.5%, 0%, 56%, 21.6%)
CIE-LABlab(76.76, -24.82, 52.26)
CIE-LCHlch(76.76, 57.85, 115.40°)
OKLaboklab(79.11% -0.0711 0.122)
OKLCHoklch(79.11% 0.141 120.2)
XYZxyz(40.0954, 51.1272, 16.9869)
Luminance0.5113 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC858 #7158C8
analogous
#C8A958 #AFC858 #77C858
triadic
#AFC858 #58AFC8 #C858AF
tetradic
#AFC858 #58C8A9 #7158C8 #C85877
square
#AFC858 #58C8A9 #7158C8 #C85877
split-complementary
#AFC858 #5877C8 #A958C8
monochromatic
#6A7D29 #91AB38 #AFC858 #C5D786 #DBE6B4

Accessibility & contrast

On white

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

On black

11.23
#AFC858 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC858
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC858#FFFFFF#000000##000000
##AFC8581.001.8711.2311.23
#FFFFFF1.871.0021.0021.00
#00000011.2321.001.001.00
##00000011.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afc858;
/* rgb */ color: rgb(175, 200, 88);
/* oklch */ color: oklch(79.1% 0.141 120.2);
Tailwind
colors: {
  custom: {
    50: '#c9d88b',
    500: '#afc858',
    950: '#000000',
  },
}
SCSS
$custom: #afc858;
$custom-light: #c9d88b;
$custom-dark: #000000;
JSON
{
  "hex": "#afc858",
  "rgb": {
    "r": 175,
    "g": 200,
    "b": 88
  },
  "hsl": {
    "h": 73.393,
    "s": 50.45,
    "l": 56.471
  },
  "oklch": {
    "l": 0.79105,
    "c": 0.14117,
    "h": 120.2
  },
  "luminance": 0.51127
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFC858

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

Preview Lab → · Contrast checker → · Palette generator →

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