#AFC080#AFC080

#AFC080 is a light, moderate yellow-green. Relative luminance 0.484; OKLCH L 77.9% C 0.088 H 120.6°. Best body text is #000000 at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#AFC080
RGBrgb(175, 192, 128)
HSLhsl(76, 34%, 63%)
HSVhsv(76, 33%, 75%)
CMYKcmyk(8.9%, 0%, 33.3%, 24.7%)
CIE-LABlab(75.06, -16.48, 30.39)
CIE-LCHlch(75.06, 34.57, 118.47°)
OKLaboklab(77.92% -0.0446 0.0755)
OKLCHoklch(77.92% 0.088 120.6)
XYZxyz(40.4249, 48.3718, 27.6249)
Luminance0.4837 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC080 #9180C0
analogous
#C0B180 #AFC080 #8FC080
triadic
#AFC080 #80AFC0 #C080AF
tetradic
#AFC080 #80C0B1 #9180C0 #C0808F
square
#AFC080 #80C0B1 #9180C0 #C0808F
split-complementary
#AFC080 #808FC0 #B180C0
monochromatic
#728442 #95AC57 #AFC080 #C9D4A9 #E3E9D2

Accessibility & contrast

On white

1.97
#AFC080 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.67
#AFC080 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC080
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC080#FFFFFF#000000##000000
##AFC0801.001.9710.6710.67
#FFFFFF1.971.0021.0021.00
#00000010.6721.001.001.00
##00000010.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B97C
Deuteranopia (green-blind)
#C6B983
Tritanopia (blue-blind)
#B4BAB0
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #afc080;
/* rgb */ color: rgb(175, 192, 128);
/* oklch */ color: oklch(77.9% 0.088 120.6);
Tailwind
colors: {
  custom: {
    50: '#c7d3a5',
    500: '#afc080',
    950: '#000000',
  },
}
SCSS
$custom: #afc080;
$custom-light: #c7d3a5;
$custom-dark: #000000;
JSON
{
  "hex": "#afc080",
  "rgb": {
    "r": 175,
    "g": 192,
    "b": 128
  },
  "hsl": {
    "h": 75.938,
    "s": 33.684,
    "l": 62.745
  },
  "oklch": {
    "l": 0.77917,
    "c": 0.08768,
    "h": 120.6
  },
  "luminance": 0.48372
}

Semantic roles & 50–950 ramp

primary
#AFC080
secondary
#C8C2D9
accent
#39AC58
background
#FCFCFA
surface
#F8F9F4
border
#D1D2CE
text
#13140F
muted
#82827F

Preview Lab

Preview with #AFC080

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

Preview Lab → · Contrast checker → · Palette generator →

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