#AFCC59#AFCC59

#AFCC59 is a light, vivid yellow-green. Relative luminance 0.530; OKLCH L 80.0% C 0.145 H 121.6°. Best body text is #000000 at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#AFCC59
RGBrgb(175, 204, 89)
HSLhsl(75, 53%, 57%)
HSVhsv(75, 56%, 80%)
CMYKcmyk(14.2%, 0%, 56.4%, 20%)
CIE-LABlab(77.89, -26.66, 53.09)
CIE-LCHlch(77.89, 59.41, 116.67°)
OKLaboklab(80.02% -0.0762 0.1239)
OKLCHoklch(80.02% 0.145 121.6)
XYZxyz(41.0756, 53.0209, 17.5194)
Luminance0.5302 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCC59 #7659CC
analogous
#CCAF59 #AFCC59 #76CC59
triadic
#AFCC59 #59AFCC #CC59AF
tetradic
#AFCC59 #59CCAF #7659CC #CC5976
square
#AFCC59 #59CCAF #7659CC #CC5976
split-complementary
#AFCC59 #5976CC #AF59CC
monochromatic
#6C8328 #92B136 #AFCC59 #C6DA88 #DCE9B7

Accessibility & contrast

On white

1.81
#AFCC59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.60
#AFCC59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCC59
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCC59#FFFFFF#000000##000000
##AFCC591.001.8111.6011.60
#FFFFFF1.811.0021.0021.00
#00000011.6021.001.001.00
##00000011.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C14D
Deuteranopia (green-blind)
#D3C160
Tritanopia (blue-blind)
#B7C3B3
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #afcc59;
/* rgb */ color: rgb(175, 204, 89);
/* oklch */ color: oklch(80.0% 0.145 121.6);
Tailwind
colors: {
  custom: {
    50: '#c9db8c',
    500: '#afcc59',
    950: '#000000',
  },
}
SCSS
$custom: #afcc59;
$custom-light: #c9db8c;
$custom-dark: #000000;
JSON
{
  "hex": "#afcc59",
  "rgb": {
    "r": 175,
    "g": 204,
    "b": 89
  },
  "hsl": {
    "h": 75.13,
    "s": 52.995,
    "l": 57.451
  },
  "oklch": {
    "l": 0.80018,
    "c": 0.1454,
    "h": 121.6
  },
  "luminance": 0.53021
}

Semantic roles & 50–950 ramp

primary
#AFCC59
secondary
#523F8A
accent
#4BDC70
background
#FEFEFC
surface
#FAFBF4
border
#D3D4CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFCC59

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

Preview Lab → · Contrast checker → · Palette generator →

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