#AFD768#AFD768

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

Color values

HEX#AFD768
RGBrgb(175, 215, 104)
HSLhsl(82, 58%, 63%)
HSVhsv(82, 52%, 84%)
CMYKcmyk(18.6%, 0%, 51.6%, 15.7%)
CIE-LABlab(81.13, -30.50, 49.96)
CIE-LCHlch(81.13, 58.54, 121.40°)
OKLaboklab(82.68% -0.0856 0.1185)
OKLCHoklch(82.68% 0.146 125.8)
XYZxyz(44.4783, 58.7138, 22.0836)
Luminance0.5871 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD768 #9068D7
analogous
#D7C868 #AFD768 #77D768
triadic
#AFD768 #68AFD7 #D768AF
tetradic
#AFD768 #68D7C8 #9068D7 #D76877
square
#AFD768 #68D7C8 #9068D7 #D76877
split-complementary
#AFD768 #6877D7 #C868D7
monochromatic
#729B29 #95CA38 #AFD768 #C9E498 #E2F1C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFD768#FFFFFF#000000##000000
##AFD7681.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)
#E1CB5E
Deuteranopia (green-blind)
#DBC96F
Tritanopia (blue-blind)
#B5CEBE
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #afd768;
/* rgb */ color: rgb(175, 215, 104);
/* oklch */ color: oklch(82.7% 0.146 125.8);
Tailwind
colors: {
  custom: {
    50: '#c9e396',
    500: '#afd768',
    950: '#000000',
  },
}
SCSS
$custom: #afd768;
$custom-light: #c9e396;
$custom-dark: #000000;
JSON
{
  "hex": "#afd768",
  "rgb": {
    "r": 175,
    "g": 215,
    "b": 104
  },
  "hsl": {
    "h": 81.622,
    "s": 58.115,
    "l": 62.549
  },
  "oklch": {
    "l": 0.82683,
    "c": 0.14614,
    "h": 125.8
  },
  "luminance": 0.58714
}

Semantic roles & 50–950 ramp

primary
#AFD768
secondary
#6543A0
accent
#20C65C
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFD768

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

Preview Lab → · Contrast checker → · Palette generator →

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