#AFD376#AFD376

#AFD376 is a light, vivid yellow-green. Relative luminance 0.570; OKLCH L 82.0% C 0.127 H 126.4°. Best body text is #000000 at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#AFD376
RGBrgb(175, 211, 118)
HSLhsl(83, 51%, 65%)
HSVhsv(83, 44%, 83%)
CMYKcmyk(17.1%, 0%, 44.1%, 17.3%)
CIE-LABlab(80.19, -27.09, 42.06)
CIE-LCHlch(80.19, 50.03, 122.78°)
OKLaboklab(81.98% -0.075 0.1019)
OKLCHoklch(81.98% 0.127 126.4)
XYZxyz(44.2432, 57.0101, 25.8092)
Luminance0.5701 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD376 #9A76D3
analogous
#D3C976 #AFD376 #81D376
triadic
#AFD376 #76AFD3 #D376AF
tetradic
#AFD376 #76D3C9 #9A76D3 #D37681
square
#AFD376 #76D3C9 #9A76D3 #D37681
split-complementary
#AFD376 #7681D3 #C976D3
monochromatic
#739C32 #94C448 #AFD376 #CAE2A4 #E5F1D3

Accessibility & contrast

On white

1.69
#AFD376 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.40
#AFD376 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD376
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD376#FFFFFF#000000##000000
##AFD3761.001.6912.4012.40
#FFFFFF1.691.0021.0021.00
#00000012.4021.001.001.00
##00000012.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC86F
Deuteranopia (green-blind)
#D7C67B
Tritanopia (blue-blind)
#B4CBBD
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #afd376;
/* rgb */ color: rgb(175, 211, 118);
/* oklch */ color: oklch(82.0% 0.127 126.4);
Tailwind
colors: {
  custom: {
    50: '#c8e09f',
    500: '#afd376',
    950: '#000000',
  },
}
SCSS
$custom: #afd376;
$custom-light: #c8e09f;
$custom-dark: #000000;
JSON
{
  "hex": "#afd376",
  "rgb": {
    "r": 175,
    "g": 211,
    "b": 118
  },
  "hsl": {
    "h": 83.226,
    "s": 51.381,
    "l": 64.51
  },
  "oklch": {
    "l": 0.81975,
    "c": 0.12653,
    "h": 126.4
  },
  "luminance": 0.5701
}

Semantic roles & 50–950 ramp

primary
#AFD376
secondary
#6D4CA1
accent
#27BF62
background
#FDFEFC
surface
#F9FCF5
border
#D2D5CF
text
#13150F
muted
#828480

Preview Lab

Preview with #AFD376

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

Preview Lab → · Contrast checker → · Palette generator →

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