#AFC654#AFC654

#AFC654 is a light, vivid yellow-green. Relative luminance 0.501; OKLCH L 78.6% C 0.142 H 119.4°. Best body text is #000000 at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#AFC654
RGBrgb(175, 198, 84)
HSLhsl(72, 50%, 55%)
HSVhsv(72, 58%, 78%)
CMYKcmyk(11.6%, 0%, 57.6%, 22.4%)
CIE-LABlab(76.16, -24.18, 53.38)
CIE-LCHlch(76.16, 58.61, 114.37°)
OKLaboklab(78.61% -0.0697 0.1239)
OKLCHoklch(78.61% 0.142 119.4)
XYZxyz(39.4740, 50.1424, 15.9847)
Luminance0.5014 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC654 #6B54C6
analogous
#C6A454 #AFC654 #76C654
triadic
#AFC654 #54AFC6 #C654AF
tetradic
#AFC654 #54C6A4 #6B54C6 #C65476
square
#AFC654 #54C6A4 #6B54C6 #C65476
split-complementary
#AFC654 #5476C6 #A454C6
monochromatic
#687828 #8FA637 #AFC654 #C4D582 #DAE5B0

Accessibility & contrast

On white

1.90
#AFC654 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.03
#AFC654 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC654
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC654#FFFFFF#000000##000000
##AFC6541.001.9011.0311.03
#FFFFFF1.901.0021.0021.00
#00000011.0321.001.001.00
##00000011.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC48
Deuteranopia (green-blind)
#CFBC5B
Tritanopia (blue-blind)
#B8BCAD
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #afc654;
/* rgb */ color: rgb(175, 198, 84);
/* oklch */ color: oklch(78.6% 0.142 119.4);
Tailwind
colors: {
  custom: {
    50: '#c9d788',
    500: '#afc654',
    950: '#000000',
  },
}
SCSS
$custom: #afc654;
$custom-light: #c9d788;
$custom-dark: #000000;
JSON
{
  "hex": "#afc654",
  "rgb": {
    "r": 175,
    "g": 198,
    "b": 84
  },
  "hsl": {
    "h": 72.105,
    "s": 50,
    "l": 55.294
  },
  "oklch": {
    "l": 0.78611,
    "c": 0.14218,
    "h": 119.4
  },
  "luminance": 0.50142
}

Semantic roles & 50–950 ramp

primary
#AFC654
secondary
#4B3E80
accent
#4EDA6A
background
#FEFEFC
surface
#FAFBF4
border
#D3D4CE
text
#13140C
muted
#83837F

Preview Lab

Preview with #AFC654

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

Preview Lab → · Contrast checker → · Palette generator →

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