#AFCC37#AFCC37

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

Color values

HEX#AFCC37
RGBrgb(175, 204, 55)
HSLhsl(72, 59%, 51%)
HSVhsv(72, 73%, 80%)
CMYKcmyk(14.2%, 0%, 73%, 20%)
CIE-LABlab(77.62, -28.97, 66.45)
CIE-LCHlch(77.62, 72.50, 113.56°)
OKLaboklab(79.72% -0.0857 0.1474)
OKLCHoklch(79.72% 0.171 120.2)
XYZxyz(39.9624, 52.5757, 11.6565)
Luminance0.5258 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCC37 #5437CC
analogous
#CC9E37 #AFCC37 #64CC37
triadic
#AFCC37 #37AFCC #CC37AF
tetradic
#AFCC37 #37CC9E #5437CC #CC3764
square
#AFCC37 #37CC9E #5437CC #CC3764
split-complementary
#AFCC37 #3764CC #9E37CC
monochromatic
#5D6D1C #879E28 #AFCC37 #C3D868 #D6E599

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFCC37#FFFFFF#000000##000000
##AFCC371.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)
#D9C019
Deuteranopia (green-blind)
#D5C044
Tritanopia (blue-blind)
#B9C1AF
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #afcc37;
/* rgb */ color: rgb(175, 204, 55);
/* oklch */ color: oklch(79.7% 0.171 120.2);
Tailwind
colors: {
  custom: {
    50: '#cadb78',
    500: '#afcc37',
    950: '#000000',
  },
}
SCSS
$custom: #afcc37;
$custom-light: #cadb78;
$custom-dark: #000000;
JSON
{
  "hex": "#afcc37",
  "rgb": {
    "r": 175,
    "g": 204,
    "b": 55
  },
  "hsl": {
    "h": 71.678,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.79721,
    "c": 0.17054,
    "h": 120.2
  },
  "luminance": 0.52576
}

Semantic roles & 50–950 ramp

primary
#AFCC37
secondary
#3E3176
accent
#45E364
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFCC37

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

Preview Lab → · Contrast checker → · Palette generator →

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