#AFCC3B#AFCC3B

#AFCC3B is a light, vivid yellow-green. Relative luminance 0.526; OKLCH L 79.7% C 0.168 H 120.3°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#AFCC3B
RGBrgb(175, 204, 59)
HSLhsl(72, 59%, 52%)
HSVhsv(72, 71%, 80%)
CMYKcmyk(14.2%, 0%, 71.1%, 20%)
CIE-LABlab(77.65, -28.76, 65.09)
CIE-LCHlch(77.65, 71.16, 113.84°)
OKLaboklab(79.75% -0.0848 0.1452)
OKLCHoklch(79.75% 0.168 120.3)
XYZxyz(40.0622, 52.6156, 12.1821)
Luminance0.5262 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCC3B #583BCC
analogous
#CCA13B #AFCC3B #67CC3B
triadic
#AFCC3B #3BAFCC #CC3BAF
tetradic
#AFCC3B #3BCCA1 #583BCC #CC3B67
square
#AFCC3B #3BCCA1 #583BCC #CC3B67
split-complementary
#AFCC3B #3B67CC #A13BCC
monochromatic
#5F701D #88A02A #AFCC3B #C3D96C #D7E59C

Accessibility & contrast

On white

1.82
#AFCC3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.52
#AFCC3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCC3B
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCC3B#FFFFFF#000000##000000
##AFCC3B1.001.8211.5211.52
#FFFFFF1.821.0021.0021.00
#00000011.5221.001.001.00
##00000011.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C021
Deuteranopia (green-blind)
#D5C047
Tritanopia (blue-blind)
#B9C1B0
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #afcc3b;
/* rgb */ color: rgb(175, 204, 59);
/* oklch */ color: oklch(79.7% 0.168 120.3);
Tailwind
colors: {
  custom: {
    50: '#cadb7a',
    500: '#afcc3b',
    950: '#000000',
  },
}
SCSS
$custom: #afcc3b;
$custom-light: #cadb7a;
$custom-dark: #000000;
JSON
{
  "hex": "#afcc3b",
  "rgb": {
    "r": 175,
    "g": 204,
    "b": 59
  },
  "hsl": {
    "h": 72,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.79748,
    "c": 0.16816,
    "h": 120.3
  },
  "luminance": 0.52615
}

Semantic roles & 50–950 ramp

primary
#AFCC3B
secondary
#403279
accent
#46E265
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFCC3B

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

Preview Lab → · Contrast checker → · Palette generator →

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