#AFC856#AFC856

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

Color values

HEX#AFC856
RGBrgb(175, 200, 86)
HSLhsl(73, 51%, 56%)
HSVhsv(73, 57%, 78%)
CMYKcmyk(12.5%, 0%, 57%, 21.6%)
CIE-LABlab(76.74, -24.99, 53.14)
CIE-LCHlch(76.74, 58.72, 115.18°)
OKLaboklab(79.08% -0.0718 0.1236)
OKLCHoklch(79.08% 0.143 120.1)
XYZxyz(40.0136, 51.0945, 16.5566)
Luminance0.5109 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC856 #6F56C8
analogous
#C8A856 #AFC856 #76C856
triadic
#AFC856 #56AFC8 #C856AF
tetradic
#AFC856 #56C8A8 #6F56C8 #C85676
square
#AFC856 #56C8A8 #6F56C8 #C85676
split-complementary
#AFC856 #5676C8 #A856C8
monochromatic
#697B28 #91AA37 #AFC856 #C5D784 #DBE6B2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFC856#FFFFFF#000000##000000
##AFC8561.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)
#D3BE4A
Deuteranopia (green-blind)
#D0BE5D
Tritanopia (blue-blind)
#B8BEAF
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #afc856;
/* rgb */ color: rgb(175, 200, 86);
/* oklch */ color: oklch(79.1% 0.143 120.1);
Tailwind
colors: {
  custom: {
    50: '#c9d889',
    500: '#afc856',
    950: '#000000',
  },
}
SCSS
$custom: #afc856;
$custom-light: #c9d889;
$custom-dark: #000000;
JSON
{
  "hex": "#afc856",
  "rgb": {
    "r": 175,
    "g": 200,
    "b": 86
  },
  "hsl": {
    "h": 73.158,
    "s": 50.893,
    "l": 56.078
  },
  "oklch": {
    "l": 0.79083,
    "c": 0.14295,
    "h": 120.1
  },
  "luminance": 0.51094
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFC856

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

Preview Lab → · Contrast checker → · Palette generator →

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