#AFD761#AFD761

#AFD761 is a very light, vivid yellow-green. Relative luminance 0.586; OKLCH L 82.6% C 0.153 H 125.2°. Best body text is #000000 at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#AFD761
RGBrgb(175, 215, 97)
HSLhsl(80, 60%, 61%)
HSVhsv(80, 55%, 84%)
CMYKcmyk(18.6%, 0%, 54.9%, 15.7%)
CIE-LABlab(81.06, -31.17, 53.11)
CIE-LCHlch(81.06, 61.58, 120.40°)
OKLaboklab(82.6% -0.088 0.1247)
OKLCHoklch(82.6% 0.153 125.2)
XYZxyz(44.1374, 58.5775, 20.2882)
Luminance0.5858 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD761 #8961D7
analogous
#D7C461 #AFD761 #74D761
triadic
#AFD761 #61AFD7 #D761AF
tetradic
#AFD761 #61D7C4 #8961D7 #D76174
square
#AFD761 #61D7C4 #8961D7 #D76174
split-complementary
#AFD761 #6174D7 #C461D7
monochromatic
#719726 #95C833 #AFD761 #C8E392 #E0F0C3

Accessibility & contrast

On white

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

On black

12.72
#AFD761 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD761
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD761#FFFFFF#000000##000000
##AFD7611.001.6512.7212.72
#FFFFFF1.651.0021.0021.00
#00000012.7221.001.001.00
##00000012.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CB55
Deuteranopia (green-blind)
#DCC969
Tritanopia (blue-blind)
#B5CEBD
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #afd761;
/* rgb */ color: rgb(175, 215, 97);
/* oklch */ color: oklch(82.6% 0.153 125.2);
Tailwind
colors: {
  custom: {
    50: '#c9e391',
    500: '#afd761',
    950: '#000000',
  },
}
SCSS
$custom: #afd761;
$custom-light: #c9e391;
$custom-dark: #000000;
JSON
{
  "hex": "#afd761",
  "rgb": {
    "r": 175,
    "g": 215,
    "b": 97
  },
  "hsl": {
    "h": 80.339,
    "s": 59.596,
    "l": 61.176
  },
  "oklch": {
    "l": 0.82598,
    "c": 0.15262,
    "h": 125.2
  },
  "luminance": 0.58578
}

Semantic roles & 50–950 ramp

primary
#AFD761
secondary
#5F409C
accent
#1EC758
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFD761

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

Preview Lab → · Contrast checker → · Palette generator →

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