#AFC366#AFC366

#AFC366 is a light, vivid yellow-green. Relative luminance 0.491; OKLCH L 78.2% C 0.121 H 119.3°. Best body text is #000000 at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#AFC366
RGBrgb(175, 195, 102)
HSLhsl(73, 44%, 58%)
HSVhsv(73, 48%, 76%)
CMYKcmyk(10.3%, 0%, 47.7%, 23.5%)
CIE-LABlab(75.52, -21.05, 44.17)
CIE-LCHlch(75.52, 48.93, 115.48°)
OKLaboklab(78.16% -0.0592 0.1056)
OKLCHoklch(78.16% 0.121 119.3)
XYZxyz(39.5929, 49.1037, 19.9600)
Luminance0.4910 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC366 #7A66C3
analogous
#C3A866 #AFC366 #80C366
triadic
#AFC366 #66AFC3 #C366AF
tetradic
#AFC366 #66C3A8 #7A66C3 #C36680
square
#AFC366 #66C3A8 #7A66C3 #C36680
split-complementary
#AFC366 #6680C3 #A866C3
monochromatic
#6D7D31 #93A942 #AFC366 #C6D492 #DDE5BE

Accessibility & contrast

On white

1.94
#AFC366 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.82
#AFC366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC366
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC366#FFFFFF#000000##000000
##AFC3661.001.9410.8210.82
#FFFFFF1.941.0021.0021.00
#00000010.8221.001.001.00
##00000010.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBA5E
Deuteranopia (green-blind)
#CBBA6B
Tritanopia (blue-blind)
#B7BAAD
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #afc366;
/* rgb */ color: rgb(175, 195, 102);
/* oklch */ color: oklch(78.2% 0.121 119.3);
Tailwind
colors: {
  custom: {
    50: '#c8d594',
    500: '#afc366',
    950: '#000000',
  },
}
SCSS
$custom: #afc366;
$custom-light: #c8d594;
$custom-dark: #000000;
JSON
{
  "hex": "#afc366",
  "rgb": {
    "r": 175,
    "g": 195,
    "b": 102
  },
  "hsl": {
    "h": 72.903,
    "s": 43.662,
    "l": 58.235
  },
  "oklch": {
    "l": 0.7816,
    "c": 0.12106,
    "h": 119.3
  },
  "luminance": 0.49103
}

Semantic roles & 50–950 ramp

primary
#AFC366
secondary
#B8B0D5
accent
#54D370
background
#FCFDF9
surface
#F8FAF1
border
#D1D3CB
text
#13140D
muted
#82837E

Preview Lab

Preview with #AFC366

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

Preview Lab → · Contrast checker → · Palette generator →

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