#A8D338#A8D338

#A8D338 is a light, vivid yellow-green. Relative luminance 0.552; OKLCH L 80.8% C 0.181 H 124.2°. Best body text is #000000 at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#A8D338
RGBrgb(168, 211, 56)
HSLhsl(77, 64%, 52%)
HSVhsv(77, 73%, 83%)
CMYKcmyk(20.4%, 0%, 73.5%, 17.3%)
CIE-LABlab(79.16, -34.97, 67.43)
CIE-LCHlch(79.16, 75.96, 117.41°)
OKLaboklab(80.84% -0.1017 0.1498)
OKLCHoklch(80.84% 0.181 124.2)
XYZxyz(40.1569, 55.1985, 12.2794)
Luminance0.5520 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8D338 #6338D3
analogous
#D3B038 #A8D338 #5BD338
triadic
#A8D338 #38A8D3 #D338A8
tetradic
#A8D338 #38D3B0 #6338D3 #D3385B
square
#A8D338 #38D3B0 #6338D3 #D3385B
split-complementary
#A8D338 #385BD3 #B038D3
monochromatic
#5D761A #84A925 #A8D338 #BEDE6A #D4E99C

Accessibility & contrast

On white

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

On black

12.04
#A8D338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8D338
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8D338#FFFFFF#000000##000000
##A8D3381.001.7412.0412.04
#FFFFFF1.741.0021.0021.00
#00000012.0421.001.001.00
##00000012.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC517
Deuteranopia (green-blind)
#D9C446
Tritanopia (blue-blind)
#B0C9B5
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #a8d338;
/* rgb */ color: rgb(168, 211, 56);
/* oklch */ color: oklch(80.8% 0.181 124.2);
Tailwind
colors: {
  custom: {
    50: '#c6e079',
    500: '#a8d338',
    950: '#000000',
  },
}
SCSS
$custom: #a8d338;
$custom-light: #c6e079;
$custom-dark: #000000;
JSON
{
  "hex": "#a8d338",
  "rgb": {
    "r": 168,
    "g": 211,
    "b": 56
  },
  "hsl": {
    "h": 76.645,
    "s": 63.786,
    "l": 52.353
  },
  "oklch": {
    "l": 0.80842,
    "c": 0.1811,
    "h": 124.2
  },
  "luminance": 0.55199
}

Semantic roles & 50–950 ramp

primary
#A8D338
secondary
#46307F
accent
#41E76F
background
#FEFEFB
surface
#FAFCF2
border
#D3D5CC
text
#13150A
muted
#83847D

Preview Lab

Preview with #A8D338

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

Preview Lab → · Contrast checker → · Palette generator →

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