#AFCC46#AFCC46

#AFCC46 is a light, vivid yellow-green. Relative luminance 0.527; OKLCH L 79.8% C 0.161 H 120.7°. Best body text is #000000 at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#AFCC46
RGBrgb(175, 204, 70)
HSLhsl(73, 57%, 54%)
HSVhsv(73, 66%, 80%)
CMYKcmyk(14.2%, 0%, 65.7%, 20%)
CIE-LABlab(77.72, -28.10, 61.02)
CIE-LCHlch(77.72, 67.18, 114.73°)
OKLaboklab(79.83% -0.082 0.1383)
OKLCHoklch(79.83% 0.161 120.7)
XYZxyz(40.3781, 52.7420, 13.8462)
Luminance0.5274 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCC46 #6346CC
analogous
#CCA646 #AFCC46 #6CCC46
triadic
#AFCC46 #46AFCC #CC46AF
tetradic
#AFCC46 #46CCA6 #6346CC #CC466C
square
#AFCC46 #46CCA6 #6346CC #CC466C
split-complementary
#AFCC46 #466CCC #A646CC
monochromatic
#647721 #8DA72E #AFCC46 #C4D976 #D8E6A6

Accessibility & contrast

On white

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

On black

11.55
#AFCC46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCC46
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCC46#FFFFFF#000000##000000
##AFCC461.001.8211.5511.55
#FFFFFF1.821.0021.0021.00
#00000011.5521.001.001.00
##00000011.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C033
Deuteranopia (green-blind)
#D5C050
Tritanopia (blue-blind)
#B8C2B1
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #afcc46;
/* rgb */ color: rgb(175, 204, 70);
/* oklch */ color: oklch(79.8% 0.161 120.7);
Tailwind
colors: {
  custom: {
    50: '#cadb80',
    500: '#afcc46',
    950: '#000000',
  },
}
SCSS
$custom: #afcc46;
$custom-light: #cadb80;
$custom-dark: #000000;
JSON
{
  "hex": "#afcc46",
  "rgb": {
    "r": 175,
    "g": 204,
    "b": 70
  },
  "hsl": {
    "h": 72.985,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.79832,
    "c": 0.16078,
    "h": 120.7
  },
  "luminance": 0.52742
}

Semantic roles & 50–950 ramp

primary
#AFCC46
secondary
#47377F
accent
#48E069
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFCC46

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

Preview Lab → · Contrast checker → · Palette generator →

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