#AFC562#AFC562

#AFC562 is a light, vivid yellow-green. Relative luminance 0.499; OKLCH L 78.6% C 0.128 H 119.8°. Best body text is #000000 at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#AFC562
RGBrgb(175, 197, 98)
HSLhsl(73, 46%, 58%)
HSVhsv(73, 50%, 77%)
CMYKcmyk(11.2%, 0%, 50.3%, 22.7%)
CIE-LABlab(76.03, -22.43, 46.72)
CIE-LCHlch(76.03, 51.83, 115.65°)
OKLaboklab(78.55% -0.0635 0.1109)
OKLCHoklch(78.55% 0.128 119.8)
XYZxyz(39.8504, 49.9285, 19.0907)
Luminance0.4993 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC562 #7862C5
analogous
#C5A962 #AFC562 #7DC562
triadic
#AFC562 #62AFC5 #C562AF
tetradic
#AFC562 #62C5A9 #7862C5 #C5627D
square
#AFC562 #62C5A9 #7862C5 #C5627D
split-complementary
#AFC562 #627DC5 #A962C5
monochromatic
#6C7E2F #93AB3F #AFC562 #C6D68F #DDE6BB

Accessibility & contrast

On white

1.91
#AFC562 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.99
#AFC562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC562
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC562#FFFFFF#000000##000000
##AFC5621.001.9110.9910.99
#FFFFFF1.911.0021.0021.00
#00000010.9921.001.001.00
##00000010.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BC59
Deuteranopia (green-blind)
#CDBC68
Tritanopia (blue-blind)
#B7BCAE
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #afc562;
/* rgb */ color: rgb(175, 197, 98);
/* oklch */ color: oklch(78.6% 0.128 119.8);
Tailwind
colors: {
  custom: {
    50: '#c9d691',
    500: '#afc562',
    950: '#000000',
  },
}
SCSS
$custom: #afc562;
$custom-light: #c9d691;
$custom-dark: #000000;
JSON
{
  "hex": "#afc562",
  "rgb": {
    "r": 175,
    "g": 197,
    "b": 98
  },
  "hsl": {
    "h": 73.333,
    "s": 46.047,
    "l": 57.843
  },
  "oklch": {
    "l": 0.78553,
    "c": 0.12777,
    "h": 119.8
  },
  "luminance": 0.49928
}

Semantic roles & 50–950 ramp

primary
#AFC562
secondary
#B6AED5
accent
#52D66F
background
#FCFDF9
surface
#F8FAF1
border
#D1D3CB
text
#13140D
muted
#82837E

Preview Lab

Preview with #AFC562

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

Preview Lab → · Contrast checker → · Palette generator →

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