#A8C328#A8C328

#A8C328 is a light, vivid yellow-green. Relative luminance 0.475; OKLCH L 77.1% C 0.171 H 119.6°. Best body text is #000000 at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#A8C328
RGBrgb(168, 195, 40)
HSLhsl(70, 66%, 46%)
HSVhsv(70, 79%, 76%)
CMYKcmyk(13.8%, 0%, 79.5%, 23.5%)
CIE-LABlab(74.51, -28.22, 68.05)
CIE-LCHlch(74.51, 73.67, 112.53°)
OKLaboklab(77.07% -0.0845 0.1485)
OKLCHoklch(77.07% 0.171 119.6)
XYZxyz(36.0473, 47.5084, 9.2781)
Luminance0.4751 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8C328 #4328C3
analogous
#C39028 #A8C328 #5AC328
triadic
#A8C328 #28A8C3 #C328A8
tetradic
#A8C328 #28C390 #4328C3 #C3285A
square
#A8C328 #28C390 #4328C3 #C3285A
split-complementary
#A8C328 #285AC3 #9028C3
monochromatic
#505D13 #7C901E #A8C328 #C2DB4E #D3E580

Accessibility & contrast

On white

2.00
#A8C328 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.50
#A8C328 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8C328
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8C328#FFFFFF#000000##000000
##A8C3281.002.0010.5010.50
#FFFFFF2.001.0021.0021.00
#00000010.5021.001.001.00
##00000010.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B700
Deuteranopia (green-blind)
#CDB838
Tritanopia (blue-blind)
#B2B8A7
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #a8c328;
/* rgb */ color: rgb(168, 195, 40);
/* oklch */ color: oklch(77.1% 0.171 119.6);
Tailwind
colors: {
  custom: {
    50: '#c6d570',
    500: '#a8c328',
    950: '#000000',
  },
}
SCSS
$custom: #a8c328;
$custom-light: #c6d570;
$custom-dark: #000000;
JSON
{
  "hex": "#a8c328",
  "rgb": {
    "r": 168,
    "g": 195,
    "b": 40
  },
  "hsl": {
    "h": 70.452,
    "s": 65.957,
    "l": 46.078
  },
  "oklch": {
    "l": 0.77068,
    "c": 0.17085,
    "h": 119.6
  },
  "luminance": 0.47508
}

Semantic roles & 50–950 ramp

primary
#A8C328
secondary
#8879CE
accent
#3FE95D
background
#FCFDF7
surface
#F9FAED
border
#D2D3C8
text
#131408
muted
#82837B

Preview Lab

Preview with #A8C328

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

Preview Lab → · Contrast checker → · Palette generator →

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