#A7D128#A7D128

#A7D128 is a light, vivid yellow-green. Relative luminance 0.540; OKLCH L 80.2% C 0.187 H 123.5°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#A7D128
RGBrgb(167, 209, 40)
HSLhsl(75, 68%, 49%)
HSVhsv(75, 81%, 82%)
CMYKcmyk(20.1%, 0%, 80.9%, 18%)
CIE-LABlab(78.44, -35.16, 71.52)
CIE-LCHlch(78.44, 79.69, 116.18°)
OKLaboklab(80.23% -0.1033 0.1559)
OKLCHoklch(80.23% 0.187 123.5)
XYZxyz(39.1203, 53.9693, 10.3632)
Luminance0.5397 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7D128 #5228D1
analogous
#D1A728 #A7D128 #53D128
triadic
#A7D128 #28A7D1 #D128A7
tetradic
#A7D128 #28D1A7 #5228D1 #D12853
square
#A7D128 #28D1A7 #5228D1 #D12853
split-complementary
#A7D128 #2853D1 #A728D1
monochromatic
#556A14 #7E9E1E #A7D128 #BDDF57 #D1E98B

Accessibility & contrast

On white

1.78
#A7D128 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.79
#A7D128 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7D128
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7D128#FFFFFF#000000##000000
##A7D1281.001.7811.7911.79
#FFFFFF1.781.0021.0021.00
#00000011.7921.001.001.00
##00000011.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC300
Deuteranopia (green-blind)
#D8C23B
Tritanopia (blue-blind)
#B0C6B3
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #a7d128;
/* rgb */ color: rgb(167, 209, 40);
/* oklch */ color: oklch(80.2% 0.187 123.5);
Tailwind
colors: {
  custom: {
    50: '#c5df72',
    500: '#a7d128',
    950: '#000000',
  },
}
SCSS
$custom: #a7d128;
$custom-light: #c5df72;
$custom-dark: #000000;
JSON
{
  "hex": "#a7d128",
  "rgb": {
    "r": 167,
    "g": 209,
    "b": 40
  },
  "hsl": {
    "h": 74.911,
    "s": 67.871,
    "l": 48.824
  },
  "oklch": {
    "l": 0.80225,
    "c": 0.18707,
    "h": 123.5
  },
  "luminance": 0.5397
}

Semantic roles & 50–950 ramp

primary
#A7D128
secondary
#3C2974
accent
#3DEB68
background
#FEFEFB
surface
#FAFCF1
border
#D3D5CB
text
#131509
muted
#83847D

Preview Lab

Preview with #A7D128

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

Preview Lab → · Contrast checker → · Palette generator →

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