#AFD760#AFD760

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

Color values

HEX#AFD760
RGBrgb(175, 215, 96)
HSLhsl(80, 60%, 61%)
HSVhsv(80, 55%, 84%)
CMYKcmyk(18.6%, 0%, 55.3%, 15.7%)
CIE-LABlab(81.05, -31.26, 53.55)
CIE-LCHlch(81.05, 62.01, 120.27°)
OKLaboklab(82.59% -0.0884 0.1255)
OKLCHoklch(82.59% 0.154 125.1)
XYZxyz(44.0910, 58.5590, 20.0442)
Luminance0.5856 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD760 #8860D7
analogous
#D7C360 #AFD760 #73D760
triadic
#AFD760 #60AFD7 #D760AF
tetradic
#AFD760 #60D7C3 #8860D7 #D76073
square
#AFD760 #60D7C3 #8860D7 #D76073
split-complementary
#AFD760 #6073D7 #C360D7
monochromatic
#719726 #95C832 #AFD760 #C8E391 #E0F0C2

Accessibility & contrast

On white

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

On black

12.71
#AFD760 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD760
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD760#FFFFFF#000000##000000
##AFD7601.001.6512.7112.71
#FFFFFF1.651.0021.0021.00
#00000012.7121.001.001.00
##00000012.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CB54
Deuteranopia (green-blind)
#DCC968
Tritanopia (blue-blind)
#B6CEBD
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #afd760;
/* rgb */ color: rgb(175, 215, 96);
/* oklch */ color: oklch(82.6% 0.154 125.1);
Tailwind
colors: {
  custom: {
    50: '#c9e391',
    500: '#afd760',
    950: '#000000',
  },
}
SCSS
$custom: #afd760;
$custom-light: #c9e391;
$custom-dark: #000000;
JSON
{
  "hex": "#afd760",
  "rgb": {
    "r": 175,
    "g": 215,
    "b": 96
  },
  "hsl": {
    "h": 80.168,
    "s": 59.799,
    "l": 60.98
  },
  "oklch": {
    "l": 0.82586,
    "c": 0.15352,
    "h": 125.1
  },
  "luminance": 0.58559
}

Semantic roles & 50–950 ramp

primary
#AFD760
secondary
#5F409B
accent
#1EC757
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFD760

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

Preview Lab → · Contrast checker → · Palette generator →

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