#AFC855#AFC855

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

Color values

HEX#AFC855
RGBrgb(175, 200, 85)
HSLhsl(73, 51%, 56%)
HSVhsv(73, 58%, 78%)
CMYKcmyk(12.5%, 0%, 57.5%, 21.6%)
CIE-LABlab(76.73, -25.07, 53.58)
CIE-LCHlch(76.73, 59.15, 115.08°)
OKLaboklab(79.07% -0.0721 0.1245)
OKLCHoklch(79.07% 0.144 120.1)
XYZxyz(39.9736, 51.0785, 16.3458)
Luminance0.5108 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC855 #6E55C8
analogous
#C8A755 #AFC855 #75C855
triadic
#AFC855 #55AFC8 #C855AF
tetradic
#AFC855 #55C8A7 #6E55C8 #C85575
square
#AFC855 #55C8A7 #6E55C8 #C85575
split-complementary
#AFC855 #5575C8 #A755C8
monochromatic
#697B28 #90A937 #AFC855 #C5D783 #DBE6B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFC855#FFFFFF#000000##000000
##AFC8551.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)
#D3BE49
Deuteranopia (green-blind)
#D0BE5C
Tritanopia (blue-blind)
#B8BEAF
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #afc855;
/* rgb */ color: rgb(175, 200, 85);
/* oklch */ color: oklch(79.1% 0.144 120.1);
Tailwind
colors: {
  custom: {
    50: '#c9d889',
    500: '#afc855',
    950: '#000000',
  },
}
SCSS
$custom: #afc855;
$custom-light: #c9d889;
$custom-dark: #000000;
JSON
{
  "hex": "#afc855",
  "rgb": {
    "r": 175,
    "g": 200,
    "b": 85
  },
  "hsl": {
    "h": 73.043,
    "s": 51.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.79072,
    "c": 0.14383,
    "h": 120.1
  },
  "luminance": 0.51078
}

Semantic roles & 50–950 ramp

primary
#AFC855
secondary
#4D3E83
accent
#4DDB6C
background
#FEFEFC
surface
#FAFBF4
border
#D3D4CE
text
#13140C
muted
#83837F

Preview Lab

Preview with #AFC855

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

Preview Lab → · Contrast checker → · Palette generator →

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