#AFD77B#AFD77B

#AFD77B is a very light, vivid yellow-green. Relative luminance 0.591; OKLCH L 83.0% C 0.127 H 128.1°. Best body text is #000000 at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#AFD77B
RGBrgb(175, 215, 123)
HSLhsl(86, 53%, 66%)
HSVhsv(86, 43%, 84%)
CMYKcmyk(18.6%, 0%, 42.8%, 15.7%)
CIE-LABlab(81.37, -28.41, 41.08)
CIE-LCHlch(81.37, 49.94, 124.67°)
OKLaboklab(82.95% -0.0784 0.0999)
OKLCHoklch(82.95% 0.127 128.1)
XYZxyz(45.5543, 59.1443, 27.7510)
Luminance0.5915 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD77B #A37BD7
analogous
#D7D17B #AFD77B #81D77B
triadic
#AFD77B #7BAFD7 #D77BAF
tetradic
#AFD77B #7BD7D1 #A37BD7 #D77B81
square
#AFD77B #7BD7D1 #A37BD7 #D77B81
split-complementary
#AFD77B #7B81D7 #D17BD7
monochromatic
#73A532 #93C94C #AFD77B #CBE5AA #E8F3D9

Accessibility & contrast

On white

1.64
#AFD77B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.83
#AFD77B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD77B
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD77B#FFFFFF#000000##000000
##AFD77B1.001.6412.8312.83
#FFFFFF1.641.0021.0021.00
#00000012.8321.001.001.00
##00000012.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCC74
Deuteranopia (green-blind)
#D9C980
Tritanopia (blue-blind)
#B3D0C1
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #afd77b;
/* rgb */ color: rgb(175, 215, 123);
/* oklch */ color: oklch(83.0% 0.127 128.1);
Tailwind
colors: {
  custom: {
    50: '#c8e3a2',
    500: '#afd77b',
    950: '#000000',
  },
}
SCSS
$custom: #afd77b;
$custom-light: #c8e3a2;
$custom-dark: #000000;
JSON
{
  "hex": "#afd77b",
  "rgb": {
    "r": 175,
    "g": 215,
    "b": 123
  },
  "hsl": {
    "h": 86.087,
    "s": 53.488,
    "l": 66.275
  },
  "oklch": {
    "l": 0.8295,
    "c": 0.12701,
    "h": 128.1
  },
  "luminance": 0.59145
}

Semantic roles & 50–950 ramp

primary
#AFD77B
secondary
#754DA9
accent
#25C169
background
#FDFEFC
surface
#F9FCF5
border
#D2D5CF
text
#13150F
muted
#828480

Preview Lab

Preview with #AFD77B

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

Preview Lab → · Contrast checker → · Palette generator →

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