#AFD765#AFD765

#AFD765 is a very light, vivid yellow-green. Relative luminance 0.587; OKLCH L 82.6% C 0.149 H 125.6°. Best body text is #000000 at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#AFD765
RGBrgb(175, 215, 101)
HSLhsl(81, 59%, 62%)
HSVhsv(81, 53%, 84%)
CMYKcmyk(18.6%, 0%, 53%, 15.7%)
CIE-LABlab(81.10, -30.79, 51.32)
CIE-LCHlch(81.10, 59.85, 120.96°)
OKLaboklab(82.65% -0.0866 0.1212)
OKLCHoklch(82.65% 0.149 125.6)
XYZxyz(44.3286, 58.6540, 21.2954)
Luminance0.5865 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD765 #8D65D7
analogous
#D7C665 #AFD765 #76D765
triadic
#AFD765 #65AFD7 #D765AF
tetradic
#AFD765 #65D7C6 #8D65D7 #D76576
square
#AFD765 #65D7C6 #8D65D7 #D76576
split-complementary
#AFD765 #6576D7 #C665D7
monochromatic
#729A28 #96CA35 #AFD765 #C8E496 #E1F0C6

Accessibility & contrast

On white

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

On black

12.73
#AFD765 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD765
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD765#FFFFFF#000000##000000
##AFD7651.001.6512.7312.73
#FFFFFF1.651.0021.0021.00
#00000012.7321.001.001.00
##00000012.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afd765;
/* rgb */ color: rgb(175, 215, 101);
/* oklch */ color: oklch(82.6% 0.149 125.6);
Tailwind
colors: {
  custom: {
    50: '#c9e394',
    500: '#afd765',
    950: '#000000',
  },
}
SCSS
$custom: #afd765;
$custom-light: #c9e394;
$custom-dark: #000000;
JSON
{
  "hex": "#afd765",
  "rgb": {
    "r": 175,
    "g": 215,
    "b": 101
  },
  "hsl": {
    "h": 81.053,
    "s": 58.763,
    "l": 61.961
  },
  "oklch": {
    "l": 0.82645,
    "c": 0.14896,
    "h": 125.6
  },
  "luminance": 0.58654
}

Semantic roles & 50–950 ramp

primary
#AFD765
secondary
#62429E
accent
#1FC65A
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFD765

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

Preview Lab → · Contrast checker → · Palette generator →

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