#AFC060#AFC060

#AFC060 is a light, vivid yellow-green. Relative luminance 0.477; OKLCH L 77.4% C 0.123 H 117.7°. Best body text is #000000 at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#AFC060
RGBrgb(175, 192, 96)
HSLhsl(71, 43%, 56%)
HSVhsv(71, 50%, 75%)
CMYKcmyk(8.9%, 0%, 50%, 24.7%)
CIE-LABlab(74.61, -20.15, 46.00)
CIE-LCHlch(74.61, 50.22, 113.66°)
OKLaboklab(77.41% -0.0572 0.1091)
OKLCHoklch(77.41% 0.123 117.7)
XYZxyz(38.6406, 47.6581, 18.2274)
Luminance0.4766 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC060 #7160C0
analogous
#C0A160 #AFC060 #7FC060
triadic
#AFC060 #60AFC0 #C060AF
tetradic
#AFC060 #60C0A1 #7160C0 #C0607F
square
#AFC060 #60C0A1 #7160C0 #C0607F
split-complementary
#AFC060 #607FC0 #A160C0
monochromatic
#6A772F #91A240 #AFC060 #C5D18C #DBE3B8

Accessibility & contrast

On white

1.99
#AFC060 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.53
#AFC060 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC060
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC060#FFFFFF#000000##000000
##AFC0601.001.9910.5310.53
#FFFFFF1.991.0021.0021.00
#00000010.5321.001.001.00
##00000010.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB757
Deuteranopia (green-blind)
#C9B865
Tritanopia (blue-blind)
#B8B7AA
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #afc060;
/* rgb */ color: rgb(175, 192, 96);
/* oklch */ color: oklch(77.4% 0.123 117.7);
Tailwind
colors: {
  custom: {
    50: '#c9d38f',
    500: '#afc060',
    950: '#000000',
  },
}
SCSS
$custom: #afc060;
$custom-light: #c9d38f;
$custom-dark: #000000;
JSON
{
  "hex": "#afc060",
  "rgb": {
    "r": 175,
    "g": 192,
    "b": 96
  },
  "hsl": {
    "h": 70.625,
    "s": 43.243,
    "l": 56.471
  },
  "oklch": {
    "l": 0.77411,
    "c": 0.12323,
    "h": 117.7
  },
  "luminance": 0.47658
}

Semantic roles & 50–950 ramp

primary
#AFC060
secondary
#B1AAD2
accent
#55D36B
background
#FCFCF8
surface
#F8F9F0
border
#D1D2CB
text
#13140D
muted
#82827D

Preview Lab

Preview with #AFC060

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

Preview Lab → · Contrast checker → · Palette generator →

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