#AFC482#AFC482

#AFC482 is a light, moderate yellow-green. Relative luminance 0.502; OKLCH L 78.8% C 0.091 H 122.8°. Best body text is #000000 at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#AFC482
RGBrgb(175, 196, 130)
HSLhsl(79, 36%, 64%)
HSVhsv(79, 34%, 77%)
CMYKcmyk(10.7%, 0%, 33.7%, 23.1%)
CIE-LABlab(76.20, -18.23, 30.84)
CIE-LCHlch(76.20, 35.82, 120.59°)
OKLaboklab(78.83% -0.0495 0.0766)
OKLCHoklch(78.83% 0.091 122.8)
XYZxyz(41.4481, 50.2054, 28.6218)
Luminance0.5021 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC482 #9782C4
analogous
#C4B882 #AFC482 #8EC482
triadic
#AFC482 #82AFC4 #C482AF
tetradic
#AFC482 #82C4B8 #9782C4 #C4828E
square
#AFC482 #82C4B8 #9782C4 #C4828E
split-complementary
#AFC482 #828EC4 #B882C4
monochromatic
#738A41 #94B058 #AFC482 #CAD8AC #E4EBD5

Accessibility & contrast

On white

1.90
#AFC482 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.04
#AFC482 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC482
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC482#FFFFFF#000000##000000
##AFC4821.001.9011.0411.04
#FFFFFF1.901.0021.0021.00
#00000011.0421.001.001.00
##00000011.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCBC7D
Deuteranopia (green-blind)
#C9BC85
Tritanopia (blue-blind)
#B4BEB3
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #afc482;
/* rgb */ color: rgb(175, 196, 130);
/* oklch */ color: oklch(78.8% 0.091 122.8);
Tailwind
colors: {
  custom: {
    50: '#c7d5a7',
    500: '#afc482',
    950: '#000000',
  },
}
SCSS
$custom: #afc482;
$custom-light: #c7d5a7;
$custom-dark: #000000;
JSON
{
  "hex": "#afc482",
  "rgb": {
    "r": 175,
    "g": 196,
    "b": 130
  },
  "hsl": {
    "h": 79.091,
    "s": 35.87,
    "l": 63.922
  },
  "oklch": {
    "l": 0.78835,
    "c": 0.0912,
    "h": 122.8
  },
  "luminance": 0.50206
}

Semantic roles & 50–950 ramp

primary
#AFC482
secondary
#6A5893
accent
#37AF5D
background
#FDFEFC
surface
#F9FBF6
border
#D2D4D0
text
#13140F
muted
#828380

Preview Lab

Preview with #AFC482

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

Preview Lab → · Contrast checker → · Palette generator →

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