#A7D159#A7D159

#A7D159 is a light, vivid yellow-green. Relative luminance 0.545; OKLCH L 80.6% C 0.155 H 125.9°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#A7D159
RGBrgb(167, 209, 89)
HSLhsl(81, 57%, 58%)
HSVhsv(81, 57%, 82%)
CMYKcmyk(20.1%, 0%, 57.4%, 18%)
CIE-LABlab(78.77, -32.14, 53.96)
CIE-LCHlch(78.77, 62.81, 120.77°)
OKLaboklab(80.6% -0.091 0.1258)
OKLCHoklch(80.6% 0.155 125.9)
XYZxyz(40.5400, 54.5372, 17.8402)
Luminance0.5454 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7D159 #8359D1
analogous
#D1BF59 #A7D159 #6BD159
triadic
#A7D159 #59A7D1 #D159A7
tetradic
#A7D159 #59D1BF #8359D1 #D1596B
square
#A7D159 #59D1BF #8359D1 #D1596B
split-complementary
#A7D159 #596BD1 #BF59D1
monochromatic
#678926 #8BB933 #A7D159 #C0DE89 #DAECB9

Accessibility & contrast

On white

1.76
#A7D159 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.91
#A7D159 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7D159
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7D159#FFFFFF#000000##000000
##A7D1591.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC54C
Deuteranopia (green-blind)
#D5C261
Tritanopia (blue-blind)
#ADC8B7
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #a7d159;
/* rgb */ color: rgb(167, 209, 89);
/* oklch */ color: oklch(80.6% 0.155 125.9);
Tailwind
colors: {
  custom: {
    50: '#c4df8c',
    500: '#a7d159',
    950: '#000000',
  },
}
SCSS
$custom: #a7d159;
$custom-light: #c4df8c;
$custom-dark: #000000;
JSON
{
  "hex": "#a7d159",
  "rgb": {
    "r": 167,
    "g": 209,
    "b": 89
  },
  "hsl": {
    "h": 81,
    "s": 56.604,
    "l": 58.431
  },
  "oklch": {
    "l": 0.80598,
    "c": 0.15528,
    "h": 125.9
  },
  "luminance": 0.54538
}

Semantic roles & 50–950 ramp

primary
#A7D159
secondary
#5B3E90
accent
#48E07D
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150C
muted
#82847F

Preview Lab

Preview with #A7D159

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

Preview Lab → · Contrast checker → · Palette generator →

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