#AFD268#AFD268

#AFD268 is a light, vivid yellow-green. Relative luminance 0.562; OKLCH L 81.6% C 0.139 H 124.5°. Best body text is #000000 at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#AFD268
RGBrgb(175, 210, 104)
HSLhsl(80, 54%, 62%)
HSVhsv(80, 50%, 82%)
CMYKcmyk(16.7%, 0%, 50.5%, 17.6%)
CIE-LABlab(79.73, -28.13, 48.29)
CIE-LCHlch(79.73, 55.89, 120.22°)
OKLaboklab(81.55% -0.079 0.1148)
OKLCHoklch(81.55% 0.139 124.5)
XYZxyz(43.2245, 56.2063, 21.6657)
Luminance0.5621 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD268 #8B68D2
analogous
#D2C068 #AFD268 #7AD268
triadic
#AFD268 #68AFD2 #D268AF
tetradic
#AFD268 #68D2C0 #8B68D2 #D2687A
square
#AFD268 #68D2C0 #8B68D2 #D2687A
split-complementary
#AFD268 #687AD2 #C068D2
monochromatic
#71942C #96C33A #AFD268 #C8E097 #E1EEC6

Accessibility & contrast

On white

1.72
#AFD268 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.24
#AFD268 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD268
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD268#FFFFFF#000000##000000
##AFD2681.001.7212.2412.24
#FFFFFF1.721.0021.0021.00
#00000012.2421.001.001.00
##00000012.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC75E
Deuteranopia (green-blind)
#D7C56E
Tritanopia (blue-blind)
#B5C9BA
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #afd268;
/* rgb */ color: rgb(175, 210, 104);
/* oklch */ color: oklch(81.6% 0.139 124.5);
Tailwind
colors: {
  custom: {
    50: '#c9e096',
    500: '#afd268',
    950: '#000000',
  },
}
SCSS
$custom: #afd268;
$custom-light: #c9e096;
$custom-dark: #000000;
JSON
{
  "hex": "#afd268",
  "rgb": {
    "r": 175,
    "g": 210,
    "b": 104
  },
  "hsl": {
    "h": 79.811,
    "s": 54.082,
    "l": 61.569
  },
  "oklch": {
    "l": 0.81553,
    "c": 0.13934,
    "h": 124.5
  },
  "luminance": 0.56207
}

Semantic roles & 50–950 ramp

primary
#AFD268
secondary
#614599
accent
#24C258
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFD268

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

Preview Lab → · Contrast checker → · Palette generator →

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