#AFCC70#AFCC70

#AFCC70 is a light, vivid yellow-green. Relative luminance 0.535; OKLCH L 80.3% C 0.123 H 123.5°. Best body text is #000000 at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#AFCC70
RGBrgb(175, 204, 112)
HSLhsl(79, 47%, 62%)
HSVhsv(79, 45%, 80%)
CMYKcmyk(14.2%, 0%, 45.1%, 20%)
CIE-LABlab(78.15, -24.39, 42.49)
CIE-LCHlch(78.15, 49.00, 119.86°)
OKLaboklab(80.32% -0.0678 0.1025)
OKLCHoklch(80.32% 0.123 123.5)
XYZxyz(42.1967, 53.4694, 23.4237)
Luminance0.5347 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCC70 #8D70CC
analogous
#CCBB70 #AFCC70 #81CC70
triadic
#AFCC70 #70AFCC #CC70AF
tetradic
#AFCC70 #70CCBB #8D70CC #CC7081
square
#AFCC70 #70CCBB #8D70CC #CC7081
split-complementary
#AFCC70 #7081CC #BB70CC
monochromatic
#728F33 #96BC43 #AFCC70 #C8DC9D #E1ECCA

Accessibility & contrast

On white

1.80
#AFCC70 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.69
#AFCC70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCC70
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCC70#FFFFFF#000000##000000
##AFCC701.001.8011.6911.69
#FFFFFF1.801.0021.0021.00
#00000011.6921.001.001.00
##00000011.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C268
Deuteranopia (green-blind)
#D1C175
Tritanopia (blue-blind)
#B5C4B6
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #afcc70;
/* rgb */ color: rgb(175, 204, 112);
/* oklch */ color: oklch(80.3% 0.123 123.5);
Tailwind
colors: {
  custom: {
    50: '#c8db9b',
    500: '#afcc70',
    950: '#000000',
  },
}
SCSS
$custom: #afcc70;
$custom-light: #c8db9b;
$custom-dark: #000000;
JSON
{
  "hex": "#afcc70",
  "rgb": {
    "r": 175,
    "g": 204,
    "b": 112
  },
  "hsl": {
    "h": 78.913,
    "s": 47.423,
    "l": 61.961
  },
  "oklch": {
    "l": 0.80315,
    "c": 0.12294,
    "h": 123.5
  },
  "luminance": 0.5347
}

Semantic roles & 50–950 ramp

primary
#AFCC70
secondary
#624B95
accent
#2BBB58
background
#FDFEFC
surface
#F9FBF5
border
#D2D4CF
text
#13150E
muted
#82847F

Preview Lab

Preview with #AFCC70

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

Preview Lab → · Contrast checker → · Palette generator →

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