#AFC756#AFC756

#AFC756 is a light, vivid yellow-green. Relative luminance 0.506; OKLCH L 78.9% C 0.142 H 119.8°. Best body text is #000000 at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#AFC756
RGBrgb(175, 199, 86)
HSLhsl(73, 50%, 56%)
HSVhsv(73, 57%, 78%)
CMYKcmyk(12.1%, 0%, 56.8%, 22%)
CIE-LABlab(76.46, -24.50, 52.82)
CIE-LCHlch(76.46, 58.23, 114.88°)
OKLaboklab(78.86% -0.0704 0.1229)
OKLCHoklch(78.86% 0.142 119.8)
XYZxyz(39.7828, 50.6329, 16.4796)
Luminance0.5063 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC756 #6E56C7
analogous
#C7A656 #AFC756 #76C756
triadic
#AFC756 #56AFC7 #C756AF
tetradic
#AFC756 #56C7A6 #6E56C7 #C75676
square
#AFC756 #56C7A6 #6E56C7 #C75676
split-complementary
#AFC756 #5676C7 #A656C7
monochromatic
#697A28 #90A838 #AFC756 #C5D684 #DBE5B2

Accessibility & contrast

On white

1.89
#AFC756 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.13
#AFC756 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC756
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC756#FFFFFF#000000##000000
##AFC7561.001.8911.1311.13
#FFFFFF1.891.0021.0021.00
#00000011.1321.001.001.00
##00000011.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BD4A
Deuteranopia (green-blind)
#D0BD5D
Tritanopia (blue-blind)
#B8BDAE
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #afc756;
/* rgb */ color: rgb(175, 199, 86);
/* oklch */ color: oklch(78.9% 0.142 119.8);
Tailwind
colors: {
  custom: {
    50: '#c9d889',
    500: '#afc756',
    950: '#000000',
  },
}
SCSS
$custom: #afc756;
$custom-light: #c9d889;
$custom-dark: #000000;
JSON
{
  "hex": "#afc756",
  "rgb": {
    "r": 175,
    "g": 199,
    "b": 86
  },
  "hsl": {
    "h": 72.743,
    "s": 50.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.78858,
    "c": 0.14168,
    "h": 119.8
  },
  "luminance": 0.50633
}

Semantic roles & 50–950 ramp

primary
#AFC756
secondary
#4D3F83
accent
#4EDA6C
background
#FEFEFC
surface
#FAFBF4
border
#D3D4CE
text
#13140C
muted
#83837F

Preview Lab

Preview with #AFC756

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

Preview Lab → · Contrast checker → · Palette generator →

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