#AFD068#AFD068

#AFD068 is a light, vivid yellow-green. Relative luminance 0.552; OKLCH L 81.1% C 0.137 H 123.9°. Best body text is #000000 at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#AFD068
RGBrgb(175, 208, 104)
HSLhsl(79, 53%, 61%)
HSVhsv(79, 50%, 82%)
CMYKcmyk(15.9%, 0%, 50%, 18.4%)
CIE-LABlab(79.17, -27.18, 47.62)
CIE-LCHlch(79.17, 54.83, 119.71°)
OKLaboklab(81.1% -0.0763 0.1133)
OKLCHoklch(81.1% 0.137 123.9)
XYZxyz(42.7338, 55.2250, 21.5022)
Luminance0.5523 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD068 #8968D0
analogous
#D0BD68 #AFD068 #7BD068
triadic
#AFD068 #68AFD0 #D068AF
tetradic
#AFD068 #68D0BD #8968D0 #D0687B
square
#AFD068 #68D0BD #8968D0 #D0687B
split-complementary
#AFD068 #687BD0 #BD68D0
monochromatic
#71912D #95BF3C #AFD068 #C8DF97 #E0EDC5

Accessibility & contrast

On white

1.74
#AFD068 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.05
#AFD068 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD068
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD068#FFFFFF#000000##000000
##AFD0681.001.7412.0512.05
#FFFFFF1.741.0021.0021.00
#00000012.0521.001.001.00
##00000012.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC55F
Deuteranopia (green-blind)
#D5C46E
Tritanopia (blue-blind)
#B6C7B8
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #afd068;
/* rgb */ color: rgb(175, 208, 104);
/* oklch */ color: oklch(81.1% 0.137 123.9);
Tailwind
colors: {
  custom: {
    50: '#c9de95',
    500: '#afd068',
    950: '#000000',
  },
}
SCSS
$custom: #afd068;
$custom-light: #c9de95;
$custom-dark: #000000;
JSON
{
  "hex": "#afd068",
  "rgb": {
    "r": 175,
    "g": 208,
    "b": 104
  },
  "hsl": {
    "h": 79.038,
    "s": 52.525,
    "l": 61.176
  },
  "oklch": {
    "l": 0.81102,
    "c": 0.13662,
    "h": 123.9
  },
  "luminance": 0.55225
}

Semantic roles & 50–950 ramp

primary
#AFD068
secondary
#5F4697
accent
#26C057
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFD068

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

Preview Lab → · Contrast checker → · Palette generator →

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