#AFD762#AFD762

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

Color values

HEX#AFD762
RGBrgb(175, 215, 98)
HSLhsl(81, 59%, 61%)
HSVhsv(81, 54%, 84%)
CMYKcmyk(18.6%, 0%, 54.4%, 15.7%)
CIE-LABlab(81.07, -31.07, 52.67)
CIE-LCHlch(81.07, 61.15, 120.54°)
OKLaboklab(82.61% -0.0877 0.1238)
OKLCHoklch(82.61% 0.152 125.3)
XYZxyz(44.1843, 58.5963, 20.5353)
Luminance0.5860 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD762 #8A62D7
analogous
#D7C562 #AFD762 #75D762
triadic
#AFD762 #62AFD7 #D762AF
tetradic
#AFD762 #62D7C5 #8A62D7 #D76275
square
#AFD762 #62D7C5 #8A62D7 #D76275
split-complementary
#AFD762 #6275D7 #C562D7
monochromatic
#719827 #96C933 #AFD762 #C8E393 #E1F0C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFD762#FFFFFF#000000##000000
##AFD7621.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)
#E1CB56
Deuteranopia (green-blind)
#DCC969
Tritanopia (blue-blind)
#B5CEBD
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #afd762;
/* rgb */ color: rgb(175, 215, 98);
/* oklch */ color: oklch(82.6% 0.152 125.3);
Tailwind
colors: {
  custom: {
    50: '#c9e392',
    500: '#afd762',
    950: '#000000',
  },
}
SCSS
$custom: #afd762;
$custom-light: #c9e392;
$custom-dark: #000000;
JSON
{
  "hex": "#afd762",
  "rgb": {
    "r": 175,
    "g": 215,
    "b": 98
  },
  "hsl": {
    "h": 80.513,
    "s": 59.391,
    "l": 61.373
  },
  "oklch": {
    "l": 0.82609,
    "c": 0.15172,
    "h": 125.3
  },
  "luminance": 0.58597
}

Semantic roles & 50–950 ramp

primary
#AFD762
secondary
#60419D
accent
#1EC758
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFD762

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

Preview Lab → · Contrast checker → · Palette generator →

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