#AFC956#AFC956

#AFC956 is a light, vivid yellow-green. Relative luminance 0.516; OKLCH L 79.3% C 0.144 H 120.5°. Best body text is #000000 at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#AFC956
RGBrgb(175, 201, 86)
HSLhsl(74, 52%, 56%)
HSVhsv(74, 57%, 79%)
CMYKcmyk(12.9%, 0%, 57.2%, 21.2%)
CIE-LABlab(77.02, -25.47, 53.46)
CIE-LCHlch(77.02, 59.22, 115.48°)
OKLaboklab(79.31% -0.0731 0.1243)
OKLCHoklch(79.31% 0.144 120.5)
XYZxyz(40.2460, 51.5592, 16.6340)
Luminance0.5156 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC956 #7056C9
analogous
#C9AA56 #AFC956 #76C956
triadic
#AFC956 #56AFC9 #C956AF
tetradic
#AFC956 #56C9AA #7056C9 #C95676
square
#AFC956 #56C9AA #7056C9 #C95676
split-complementary
#AFC956 #5676C9 #AA56C9
monochromatic
#6A7D28 #91AB37 #AFC956 #C5D884 #DBE7B3

Accessibility & contrast

On white

1.86
#AFC956 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.31
#AFC956 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC956
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC956#FFFFFF#000000##000000
##AFC9561.001.8611.3111.31
#FFFFFF1.861.0021.0021.00
#00000011.3121.001.001.00
##00000011.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE4A
Deuteranopia (green-blind)
#D1BE5D
Tritanopia (blue-blind)
#B8BFB0
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #afc956;
/* rgb */ color: rgb(175, 201, 86);
/* oklch */ color: oklch(79.3% 0.144 120.5);
Tailwind
colors: {
  custom: {
    50: '#c9d98a',
    500: '#afc956',
    950: '#000000',
  },
}
SCSS
$custom: #afc956;
$custom-light: #c9d98a;
$custom-dark: #000000;
JSON
{
  "hex": "#afc956",
  "rgb": {
    "r": 175,
    "g": 201,
    "b": 86
  },
  "hsl": {
    "h": 73.565,
    "s": 51.57,
    "l": 56.275
  },
  "oklch": {
    "l": 0.79308,
    "c": 0.14422,
    "h": 120.5
  },
  "luminance": 0.51559
}

Semantic roles & 50–950 ramp

primary
#AFC956
secondary
#4E3E85
accent
#4DDB6D
background
#FEFEFC
surface
#FAFBF4
border
#D3D4CE
text
#13140C
muted
#83837F

Preview Lab

Preview with #AFC956

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

Preview Lab → · Contrast checker → · Palette generator →

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