#AFC658#AFC658

#AFC658 is a light, vivid yellow-green. Relative luminance 0.502; OKLCH L 78.7% C 0.139 H 119.6°. Best body text is #000000 at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#AFC658
RGBrgb(175, 198, 88)
HSLhsl(73, 49%, 56%)
HSVhsv(73, 56%, 78%)
CMYKcmyk(11.6%, 0%, 55.6%, 22.4%)
CIE-LABlab(76.20, -23.85, 51.62)
CIE-LCHlch(76.20, 56.86, 114.80°)
OKLaboklab(78.66% -0.0684 0.1206)
OKLCHoklch(78.66% 0.139 119.6)
XYZxyz(39.6352, 50.2069, 16.8335)
Luminance0.5021 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC658 #6F58C6
analogous
#C6A658 #AFC658 #78C658
triadic
#AFC658 #58AFC6 #C658AF
tetradic
#AFC658 #58C6A6 #6F58C6 #C65878
square
#AFC658 #58C6A6 #6F58C6 #C65878
split-complementary
#AFC658 #5878C6 #A658C6
monochromatic
#697A2A #91A839 #AFC658 #C5D686 #DBE5B3

Accessibility & contrast

On white

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

On black

11.04
#AFC658 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC658
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC658#FFFFFF#000000##000000
##AFC6581.001.9011.0411.04
#FFFFFF1.901.0021.0021.00
#00000011.0421.001.001.00
##00000011.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BC4D
Deuteranopia (green-blind)
#CFBC5F
Tritanopia (blue-blind)
#B8BDAE
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #afc658;
/* rgb */ color: rgb(175, 198, 88);
/* oklch */ color: oklch(78.7% 0.139 119.6);
Tailwind
colors: {
  custom: {
    50: '#c9d78b',
    500: '#afc658',
    950: '#000000',
  },
}
SCSS
$custom: #afc658;
$custom-light: #c9d78b;
$custom-dark: #000000;
JSON
{
  "hex": "#afc658",
  "rgb": {
    "r": 175,
    "g": 198,
    "b": 88
  },
  "hsl": {
    "h": 72.545,
    "s": 49.107,
    "l": 56.078
  },
  "oklch": {
    "l": 0.78655,
    "c": 0.13861,
    "h": 119.6
  },
  "luminance": 0.50207
}

Semantic roles & 50–950 ramp

primary
#AFC658
secondary
#4E4082
accent
#4FD96C
background
#FEFEFC
surface
#FAFBF4
border
#D3D4CE
text
#13140C
muted
#83837F

Preview Lab

Preview with #AFC658

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

Preview Lab → · Contrast checker → · Palette generator →

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