#AFD456#AFD456

#AFD456 is a light, vivid yellow-green. Relative luminance 0.569; OKLCH L 81.8% C 0.158 H 123.7°. Best body text is #000000 at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#AFD456
RGBrgb(175, 212, 86)
HSLhsl(78, 59%, 58%)
HSVhsv(78, 59%, 83%)
CMYKcmyk(17.5%, 0%, 59.4%, 16.9%)
CIE-LABlab(80.11, -30.71, 56.92)
CIE-LCHlch(80.11, 64.68, 118.35°)
OKLaboklab(81.8% -0.0877 0.1317)
OKLCHoklch(81.8% 0.158 123.7)
XYZxyz(42.9027, 56.8726, 17.5196)
Luminance0.5687 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD456 #7B56D4
analogous
#D4BA56 #AFD456 #70D456
triadic
#AFD456 #56AFD4 #D456AF
tetradic
#AFD456 #56D4BA #7B56D4 #D45670
square
#AFD456 #56D4BA #7B56D4 #D45670
split-complementary
#AFD456 #5670D4 #BA56D4
monochromatic
#6D8C24 #93BD30 #AFD456 #C6E087 #DDEDB8

Accessibility & contrast

On white

1.70
#AFD456 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.37
#AFD456 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD456
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD456#FFFFFF#000000##000000
##AFD4561.001.7012.3712.37
#FFFFFF1.701.0021.0021.00
#00000012.3721.001.001.00
##00000012.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC848
Deuteranopia (green-blind)
#DAC65F
Tritanopia (blue-blind)
#B7CAB9
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #afd456;
/* rgb */ color: rgb(175, 212, 86);
/* oklch */ color: oklch(81.8% 0.158 123.7);
Tailwind
colors: {
  custom: {
    50: '#c9e18a',
    500: '#afd456',
    950: '#000000',
  },
}
SCSS
$custom: #afd456;
$custom-light: #c9e18a;
$custom-dark: #000000;
JSON
{
  "hex": "#afd456",
  "rgb": {
    "r": 175,
    "g": 212,
    "b": 86
  },
  "hsl": {
    "h": 77.619,
    "s": 59.434,
    "l": 58.431
  },
  "oklch": {
    "l": 0.81797,
    "c": 0.15826,
    "h": 123.7
  },
  "luminance": 0.56873
}

Semantic roles & 50–950 ramp

primary
#AFD456
secondary
#553C92
accent
#45E373
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFD456

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

Preview Lab → · Contrast checker → · Palette generator →

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