#AFD767#AFD767

#AFD767 is a very light, vivid yellow-green. Relative luminance 0.587; OKLCH L 82.7% C 0.147 H 125.7°. Best body text is #000000 at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#AFD767
RGBrgb(175, 215, 103)
HSLhsl(81, 58%, 62%)
HSVhsv(81, 52%, 84%)
CMYKcmyk(18.6%, 0%, 52.1%, 15.7%)
CIE-LABlab(81.12, -30.59, 50.42)
CIE-LCHlch(81.12, 58.98, 121.25°)
OKLaboklab(82.67% -0.0859 0.1194)
OKLCHoklch(82.67% 0.147 125.7)
XYZxyz(44.4278, 58.6936, 21.8177)
Luminance0.5869 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD767 #8F67D7
analogous
#D7C767 #AFD767 #77D767
triadic
#AFD767 #67AFD7 #D767AF
tetradic
#AFD767 #67D7C7 #8F67D7 #D76777
square
#AFD767 #67D7C7 #8F67D7 #D76777
split-complementary
#AFD767 #6777D7 #C767D7
monochromatic
#729B29 #95CA37 #AFD767 #C8E497 #E2F0C8

Accessibility & contrast

On white

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

On black

12.74
#AFD767 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD767
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD767#FFFFFF#000000##000000
##AFD7671.001.6512.7412.74
#FFFFFF1.651.0021.0021.00
#00000012.7421.001.001.00
##00000012.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CB5D
Deuteranopia (green-blind)
#DBC96E
Tritanopia (blue-blind)
#B5CEBE
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #afd767;
/* rgb */ color: rgb(175, 215, 103);
/* oklch */ color: oklch(82.7% 0.147 125.7);
Tailwind
colors: {
  custom: {
    50: '#c9e395',
    500: '#afd767',
    950: '#000000',
  },
}
SCSS
$custom: #afd767;
$custom-light: #c9e395;
$custom-dark: #000000;
JSON
{
  "hex": "#afd767",
  "rgb": {
    "r": 175,
    "g": 215,
    "b": 103
  },
  "hsl": {
    "h": 81.429,
    "s": 58.333,
    "l": 62.353
  },
  "oklch": {
    "l": 0.8267,
    "c": 0.14708,
    "h": 125.7
  },
  "luminance": 0.58694
}

Semantic roles & 50–950 ramp

primary
#AFD767
secondary
#64439F
accent
#20C65B
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFD767

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

Preview Lab → · Contrast checker → · Palette generator →

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