#A8C838#A8C838

#A8C838 is a light, vivid yellow-green. Relative luminance 0.499; OKLCH L 78.3% C 0.168 H 121.4°. Best body text is #000000 at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#A8C838
RGBrgb(168, 200, 56)
HSLhsl(73, 57%, 50%)
HSVhsv(73, 72%, 78%)
CMYKcmyk(16%, 0%, 72%, 21.6%)
CIE-LABlab(76.02, -29.86, 64.39)
CIE-LCHlch(76.02, 70.98, 114.88°)
OKLaboklab(78.31% -0.0877 0.1434)
OKLCHoklch(78.31% 0.168 121.4)
XYZxyz(37.5171, 49.9189, 11.3995)
Luminance0.4992 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8C838 #5838C8
analogous
#C8A038 #A8C838 #60C838
triadic
#A8C838 #38A8C8 #C838A8
tetradic
#A8C838 #38C8A0 #5838C8 #C83860
square
#A8C838 #38C8A0 #5838C8 #C83860
split-complementary
#A8C838 #3860C8 #A038C8
monochromatic
#58691D #80992A #A8C838 #BDD568 #D2E398

Accessibility & contrast

On white

1.91
#A8C838 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.98
#A8C838 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8C838
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8C838#FFFFFF#000000##000000
##A8C8381.001.9110.9810.98
#FFFFFF1.911.0021.0021.00
#00000010.9821.001.001.00
##00000010.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC1D
Deuteranopia (green-blind)
#D0BC44
Tritanopia (blue-blind)
#B1BEAC
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #a8c838;
/* rgb */ color: rgb(168, 200, 56);
/* oklch */ color: oklch(78.3% 0.168 121.4);
Tailwind
colors: {
  custom: {
    50: '#c5d878',
    500: '#a8c838',
    950: '#000000',
  },
}
SCSS
$custom: #a8c838;
$custom-light: #c5d878;
$custom-dark: #000000;
JSON
{
  "hex": "#a8c838",
  "rgb": {
    "r": 168,
    "g": 200,
    "b": 56
  },
  "hsl": {
    "h": 73.333,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.78308,
    "c": 0.16812,
    "h": 121.4
  },
  "luminance": 0.49919
}

Semantic roles & 50–950 ramp

primary
#A8C838
secondary
#9C8ECE
accent
#48E06A
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#13140A
muted
#82837C

Preview Lab

Preview with #A8C838

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

Preview Lab → · Contrast checker → · Palette generator →

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