#AFC568#AFC568

#AFC568 is a light, vivid yellow-green. Relative luminance 0.500; OKLCH L 78.6% C 0.122 H 120.2°. Best body text is #000000 at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#AFC568
RGBrgb(175, 197, 104)
HSLhsl(74, 44%, 59%)
HSVhsv(74, 47%, 77%)
CMYKcmyk(11.2%, 0%, 47.2%, 22.7%)
CIE-LABlab(76.10, -21.83, 43.90)
CIE-LCHlch(76.10, 49.03, 116.44°)
OKLaboklab(78.64% -0.0612 0.1051)
OKLCHoklch(78.64% 0.122 120.2)
XYZxyz(40.1444, 50.0461, 20.6390)
Luminance0.5005 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC568 #7E68C5
analogous
#C5AD68 #AFC568 #81C568
triadic
#AFC568 #68AFC5 #C568AF
tetradic
#AFC568 #68C5AD #7E68C5 #C56881
square
#AFC568 #68C5AD #7E68C5 #C56881
split-complementary
#AFC568 #6881C5 #AD68C5
monochromatic
#6E8132 #94AD43 #AFC568 #C6D694 #DEE7C0

Accessibility & contrast

On white

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

On black

11.01
#AFC568 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC568
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC568#FFFFFF#000000##000000
##AFC5681.001.9111.0111.01
#FFFFFF1.911.0021.0021.00
#00000011.0121.001.001.00
##00000011.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBC60
Deuteranopia (green-blind)
#CCBC6D
Tritanopia (blue-blind)
#B6BDAF
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #afc568;
/* rgb */ color: rgb(175, 197, 104);
/* oklch */ color: oklch(78.6% 0.122 120.2);
Tailwind
colors: {
  custom: {
    50: '#c8d695',
    500: '#afc568',
    950: '#000000',
  },
}
SCSS
$custom: #afc568;
$custom-light: #c8d695;
$custom-dark: #000000;
JSON
{
  "hex": "#afc568",
  "rgb": {
    "r": 175,
    "g": 197,
    "b": 104
  },
  "hsl": {
    "h": 74.194,
    "s": 44.498,
    "l": 59.02
  },
  "oklch": {
    "l": 0.78635,
    "c": 0.12168,
    "h": 120.2
  },
  "luminance": 0.50046
}

Semantic roles & 50–950 ramp

primary
#AFC568
secondary
#574889
accent
#54D472
background
#FEFEFC
surface
#FAFBF4
border
#D3D4CE
text
#13140D
muted
#83837F

Preview Lab

Preview with #AFC568

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

Preview Lab → · Contrast checker → · Palette generator →

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