#AFC156#AFC156

#AFC156 is a light, vivid yellow-green. Relative luminance 0.479; OKLCH L 77.5% C 0.134 H 117.6°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#AFC156
RGBrgb(175, 193, 86)
HSLhsl(70, 46%, 55%)
HSVhsv(70, 55%, 76%)
CMYKcmyk(9.3%, 0%, 55.4%, 24.3%)
CIE-LABlab(74.78, -21.56, 50.91)
CIE-LCHlch(74.78, 55.29, 112.95°)
OKLaboklab(77.51% -0.0621 0.1188)
OKLCHoklch(77.51% 0.134 117.6)
XYZxyz(38.4294, 47.9261, 16.0285)
Luminance0.4793 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC156 #6856C1
analogous
#C19D56 #AFC156 #7AC156
triadic
#AFC156 #56AFC1 #C156AF
tetradic
#AFC156 #56C19D #6856C1 #C1567A
square
#AFC156 #56C19D #6856C1 #C1567A
split-complementary
#AFC156 #567AC1 #9D56C1
monochromatic
#66732A #8E9F3A #AFC156 #C4D183 #D9E2B0

Accessibility & contrast

On white

1.98
#AFC156 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.59
#AFC156 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC156
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC156#FFFFFF#000000##000000
##AFC1561.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB84B
Deuteranopia (green-blind)
#CBB95C
Tritanopia (blue-blind)
#B8B8A9
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #afc156;
/* rgb */ color: rgb(175, 193, 86);
/* oklch */ color: oklch(77.5% 0.134 117.6);
Tailwind
colors: {
  custom: {
    50: '#c9d389',
    500: '#afc156',
    950: '#000000',
  },
}
SCSS
$custom: #afc156;
$custom-light: #c9d389;
$custom-dark: #000000;
JSON
{
  "hex": "#afc156",
  "rgb": {
    "r": 175,
    "g": 193,
    "b": 86
  },
  "hsl": {
    "h": 70.093,
    "s": 46.32,
    "l": 54.706
  },
  "oklch": {
    "l": 0.77511,
    "c": 0.13411,
    "h": 117.6
  },
  "luminance": 0.47926
}

Semantic roles & 50–950 ramp

primary
#AFC156
secondary
#AAA3D0
accent
#52D668
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#13140C
muted
#82827D

Preview Lab

Preview with #AFC156

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

Preview Lab → · Contrast checker → · Palette generator →

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