#AFC66D#AFC66D

#AFC66D is a light, moderate yellow-green. Relative luminance 0.506; OKLCH L 78.9% C 0.118 H 121.0°. Best body text is #000000 at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#AFC66D
RGBrgb(175, 198, 109)
HSLhsl(76, 44%, 60%)
HSVhsv(76, 45%, 78%)
CMYKcmyk(11.6%, 0%, 44.9%, 22.4%)
CIE-LABlab(76.44, -21.79, 41.86)
CIE-LCHlch(76.44, 47.19, 117.50°)
OKLaboklab(78.93% -0.0607 0.1009)
OKLCHoklch(78.93% 0.118 121)
XYZxyz(40.6337, 50.6063, 22.0924)
Luminance0.5061 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC66D #846DC6
analogous
#C6B16D #AFC66D #82C66D
triadic
#AFC66D #6DAFC6 #C66DAF
tetradic
#AFC66D #6DC6B1 #846DC6 #C66D82
square
#AFC66D #6DC6B1 #846DC6 #C66D82
split-complementary
#AFC66D #6D82C6 #B16DC6
monochromatic
#708534 #95B145 #AFC66D #C7D799 #DFE8C5

Accessibility & contrast

On white

1.89
#AFC66D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.12
#AFC66D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC66D
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC66D#FFFFFF#000000##000000
##AFC66D1.001.8911.1211.12
#FFFFFF1.891.0021.0021.00
#00000011.1221.001.001.00
##00000011.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BD66
Deuteranopia (green-blind)
#CDBD72
Tritanopia (blue-blind)
#B6BEB1
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #afc66d;
/* rgb */ color: rgb(175, 198, 109);
/* oklch */ color: oklch(78.9% 0.118 121.0);
Tailwind
colors: {
  custom: {
    50: '#c8d798',
    500: '#afc66d',
    950: '#000000',
  },
}
SCSS
$custom: #afc66d;
$custom-light: #c8d798;
$custom-dark: #000000;
JSON
{
  "hex": "#afc66d",
  "rgb": {
    "r": 175,
    "g": 198,
    "b": 109
  },
  "hsl": {
    "h": 75.506,
    "s": 43.842,
    "l": 60.196
  },
  "oklch": {
    "l": 0.7893,
    "c": 0.11778,
    "h": 121
  },
  "luminance": 0.50606
}

Semantic roles & 50–950 ramp

primary
#AFC66D
secondary
#5C4B8D
accent
#2FB752
background
#FDFEFC
surface
#F9FBF5
border
#D2D4CF
text
#13140E
muted
#82837F

Preview Lab

Preview with #AFC66D

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

Preview Lab → · Contrast checker → · Palette generator →

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