#A8C438#A8C438

#A8C438 is a light, vivid yellow-green. Relative luminance 0.481; OKLCH L 77.4% C 0.163 H 120.3°. Best body text is #000000 at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#A8C438
RGBrgb(168, 196, 56)
HSLhsl(72, 56%, 49%)
HSVhsv(72, 71%, 77%)
CMYKcmyk(14.3%, 0%, 71.4%, 23.1%)
CIE-LABlab(74.88, -27.96, 63.28)
CIE-LCHlch(74.88, 69.18, 113.84°)
OKLaboklab(77.39% -0.0825 0.1411)
OKLCHoklch(77.39% 0.163 120.3)
XYZxyz(36.6028, 48.0903, 11.0947)
Luminance0.4809 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8C438 #5438C4
analogous
#C49A38 #A8C438 #62C438
triadic
#A8C438 #38A8C4 #C438A8
tetradic
#A8C438 #38C49A #5438C4 #C43862
square
#A8C438 #38C49A #5438C4 #C43862
split-complementary
#A8C438 #3862C4 #9A38C4
monochromatic
#56651D #7F942A #A8C438 #BDD366 #D2E196

Accessibility & contrast

On white

1.98
#A8C438 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.62
#A8C438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8C438
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8C438#FFFFFF#000000##000000
##A8C4381.001.9810.6210.62
#FFFFFF1.981.0021.0021.00
#00000010.6221.001.001.00
##00000010.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B91F
Deuteranopia (green-blind)
#CDB944
Tritanopia (blue-blind)
#B1BAA9
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #a8c438;
/* rgb */ color: rgb(168, 196, 56);
/* oklch */ color: oklch(77.4% 0.163 120.3);
Tailwind
colors: {
  custom: {
    50: '#c5d578',
    500: '#a8c438',
    950: '#000000',
  },
}
SCSS
$custom: #a8c438;
$custom-light: #c5d578;
$custom-dark: #000000;
JSON
{
  "hex": "#a8c438",
  "rgb": {
    "r": 168,
    "g": 196,
    "b": 56
  },
  "hsl": {
    "h": 72,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.77391,
    "c": 0.16342,
    "h": 120.3
  },
  "luminance": 0.4809
}

Semantic roles & 50–950 ramp

primary
#A8C438
secondary
#998CCC
accent
#49DF67
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#131409
muted
#82837B

Preview Lab

Preview with #A8C438

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

Preview Lab → · Contrast checker → · Palette generator →

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