#AFD368#AFD368

#AFD368 is a light, vivid yellow-green. Relative luminance 0.567; OKLCH L 81.8% C 0.141 H 124.8°. Best body text is #000000 at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#AFD368
RGBrgb(175, 211, 104)
HSLhsl(80, 55%, 62%)
HSVhsv(80, 51%, 83%)
CMYKcmyk(17.1%, 0%, 50.7%, 17.3%)
CIE-LABlab(80.01, -28.61, 48.63)
CIE-LCHlch(80.01, 56.42, 120.47°)
OKLaboklab(81.78% -0.0803 0.1155)
OKLCHoklch(81.78% 0.141 124.8)
XYZxyz(43.4721, 56.7016, 21.7483)
Luminance0.5670 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD368 #8C68D3
analogous
#D3C268 #AFD368 #7AD368
triadic
#AFD368 #68AFD3 #D368AF
tetradic
#AFD368 #68D3C2 #8C68D3 #D3687A
square
#AFD368 #68D3C2 #8C68D3 #D3687A
split-complementary
#AFD368 #687AD3 #C268D3
monochromatic
#72952B #96C539 #AFD368 #C8E197 #E1EFC7

Accessibility & contrast

On white

1.70
#AFD368 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.34
#AFD368 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD368
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD368#FFFFFF#000000##000000
##AFD3681.001.7012.3412.34
#FFFFFF1.701.0021.0021.00
#00000012.3421.001.001.00
##00000012.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC85E
Deuteranopia (green-blind)
#D8C66E
Tritanopia (blue-blind)
#B5CABB
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #afd368;
/* rgb */ color: rgb(175, 211, 104);
/* oklch */ color: oklch(81.8% 0.141 124.8);
Tailwind
colors: {
  custom: {
    50: '#c9e096',
    500: '#afd368',
    950: '#000000',
  },
}
SCSS
$custom: #afd368;
$custom-light: #c9e096;
$custom-dark: #000000;
JSON
{
  "hex": "#afd368",
  "rgb": {
    "r": 175,
    "g": 211,
    "b": 104
  },
  "hsl": {
    "h": 80.187,
    "s": 54.872,
    "l": 61.765
  },
  "oklch": {
    "l": 0.81779,
    "c": 0.1407,
    "h": 124.8
  },
  "luminance": 0.56702
}

Semantic roles & 50–950 ramp

primary
#AFD368
secondary
#62459A
accent
#23C259
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFD368

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

Preview Lab → · Contrast checker → · Palette generator →

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