#AFD378#AFD378

#AFD378 is a very light, vivid yellow-green. Relative luminance 0.571; OKLCH L 82.0% C 0.124 H 126.6°. Best body text is #000000 at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#AFD378
RGBrgb(175, 211, 120)
HSLhsl(84, 51%, 65%)
HSVhsv(84, 43%, 83%)
CMYKcmyk(17.1%, 0%, 43.1%, 17.3%)
CIE-LABlab(80.21, -26.86, 41.10)
CIE-LCHlch(80.21, 49.10, 123.16°)
OKLaboklab(82.01% -0.0742 0.0999)
OKLCHoklch(82.01% 0.124 126.6)
XYZxyz(44.3633, 57.0581, 26.4417)
Luminance0.5706 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD378 #9C78D3
analogous
#D3C978 #AFD378 #82D378
triadic
#AFD378 #78AFD3 #D378AF
tetradic
#AFD378 #78D3C9 #9C78D3 #D37882
square
#AFD378 #78D3C9 #9C78D3 #D37882
split-complementary
#AFD378 #7882D3 #C978D3
monochromatic
#739D33 #94C44A #AFD378 #CAE2A6 #E6F1D4

Accessibility & contrast

On white

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

On black

12.41
#AFD378 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD378
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD378#FFFFFF#000000##000000
##AFD3781.001.6912.4112.41
#FFFFFF1.691.0021.0021.00
#00000012.4121.001.001.00
##00000012.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afd378;
/* rgb */ color: rgb(175, 211, 120);
/* oklch */ color: oklch(82.0% 0.124 126.6);
Tailwind
colors: {
  custom: {
    50: '#c8e0a0',
    500: '#afd378',
    950: '#000000',
  },
}
SCSS
$custom: #afd378;
$custom-light: #c8e0a0;
$custom-dark: #000000;
JSON
{
  "hex": "#afd378",
  "rgb": {
    "r": 175,
    "g": 211,
    "b": 120
  },
  "hsl": {
    "h": 83.736,
    "s": 50.838,
    "l": 64.902
  },
  "oklch": {
    "l": 0.82005,
    "c": 0.12441,
    "h": 126.6
  },
  "luminance": 0.57059
}

Semantic roles & 50–950 ramp

primary
#AFD378
secondary
#6F4DA2
accent
#27BE63
background
#FDFEFC
surface
#F9FCF5
border
#D2D5CF
text
#13150F
muted
#828480

Preview Lab

Preview with #AFD378

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

Preview Lab → · Contrast checker → · Palette generator →

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