#AFC651#AFC651

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

Color values

HEX#AFC651
RGBrgb(175, 198, 81)
HSLhsl(72, 51%, 55%)
HSVhsv(72, 59%, 78%)
CMYKcmyk(11.6%, 0%, 59.1%, 22.4%)
CIE-LABlab(76.13, -24.42, 54.69)
CIE-LCHlch(76.13, 59.89, 114.07°)
OKLaboklab(78.58% -0.0707 0.1264)
OKLCHoklch(78.58% 0.145 119.2)
XYZxyz(39.3590, 50.0964, 15.3791)
Luminance0.5010 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC651 #6851C6
analogous
#C6A351 #AFC651 #75C651
triadic
#AFC651 #51AFC6 #C651AF
tetradic
#AFC651 #51C6A3 #6851C6 #C65175
square
#AFC651 #51C6A3 #6851C6 #C65175
split-complementary
#AFC651 #5175C6 #A351C6
monochromatic
#667627 #8EA436 #AFC651 #C4D57F #D9E4AD

Accessibility & contrast

On white

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

On black

11.02
#AFC651 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC651
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC651#FFFFFF#000000##000000
##AFC6511.001.9111.0211.02
#FFFFFF1.911.0021.0021.00
#00000011.0221.001.001.00
##00000011.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afc651;
/* rgb */ color: rgb(175, 198, 81);
/* oklch */ color: oklch(78.6% 0.145 119.2);
Tailwind
colors: {
  custom: {
    50: '#c9d786',
    500: '#afc651',
    950: '#000000',
  },
}
SCSS
$custom: #afc651;
$custom-light: #c9d786;
$custom-dark: #000000;
JSON
{
  "hex": "#afc651",
  "rgb": {
    "r": 175,
    "g": 198,
    "b": 81
  },
  "hsl": {
    "h": 71.795,
    "s": 50.649,
    "l": 54.706
  },
  "oklch": {
    "l": 0.78579,
    "c": 0.14478,
    "h": 119.2
  },
  "luminance": 0.50096
}

Semantic roles & 50–950 ramp

primary
#AFC651
secondary
#493C7F
accent
#4EDA69
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#13140B
muted
#83837E

Preview Lab

Preview with #AFC651

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

Preview Lab → · Contrast checker → · Palette generator →

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