#AFD76B#AFD76B

#AFD76B is a very light, vivid yellow-green. Relative luminance 0.588; OKLCH L 82.7% C 0.143 H 126.1°. Best body text is #000000 at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#AFD76B
RGBrgb(175, 215, 107)
HSLhsl(82, 57%, 63%)
HSVhsv(82, 50%, 84%)
CMYKcmyk(18.6%, 0%, 50.2%, 15.7%)
CIE-LABlab(81.17, -30.19, 48.59)
CIE-LCHlch(81.17, 57.21, 121.85°)
OKLaboklab(82.72% -0.0845 0.1157)
OKLCHoklch(82.72% 0.143 126.1)
XYZxyz(44.6334, 58.7759, 22.9005)
Luminance0.5878 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD76B #936BD7
analogous
#D7C96B #AFD76B #79D76B
triadic
#AFD76B #6BAFD7 #D76BAF
tetradic
#AFD76B #6BD7C9 #936BD7 #D76B79
square
#AFD76B #6BD7C9 #936BD7 #D76B79
split-complementary
#AFD76B #6B79D7 #C96BD7
monochromatic
#739D2A #95CA3B #AFD76B #C9E49B #E3F1CB

Accessibility & contrast

On white

1.65
#AFD76B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.76
#AFD76B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD76B
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD76B#FFFFFF#000000##000000
##AFD76B1.001.6512.7612.76
#FFFFFF1.651.0021.0021.00
#00000012.7621.001.001.00
##00000012.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CB61
Deuteranopia (green-blind)
#DBC971
Tritanopia (blue-blind)
#B5CFBE
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #afd76b;
/* rgb */ color: rgb(175, 215, 107);
/* oklch */ color: oklch(82.7% 0.143 126.1);
Tailwind
colors: {
  custom: {
    50: '#c9e398',
    500: '#afd76b',
    950: '#000000',
  },
}
SCSS
$custom: #afd76b;
$custom-light: #c9e398;
$custom-dark: #000000;
JSON
{
  "hex": "#afd76b",
  "rgb": {
    "r": 175,
    "g": 215,
    "b": 107
  },
  "hsl": {
    "h": 82.222,
    "s": 57.447,
    "l": 63.137
  },
  "oklch": {
    "l": 0.82721,
    "c": 0.14327,
    "h": 126.1
  },
  "luminance": 0.58776
}

Semantic roles & 50–950 ramp

primary
#AFD76B
secondary
#6745A1
accent
#20C55D
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150E
muted
#83847F

Preview Lab

Preview with #AFD76B

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

Preview Lab → · Contrast checker → · Palette generator →

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