#A7D538#A7D538

#A7D538 is a light, vivid yellow-green. Relative luminance 0.561; OKLCH L 81.2% C 0.184 H 124.9°. Best body text is #000000 at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#A7D538
RGBrgb(167, 213, 56)
HSLhsl(78, 65%, 53%)
HSVhsv(78, 74%, 84%)
CMYKcmyk(21.6%, 0%, 73.7%, 16.5%)
CIE-LABlab(79.66, -36.27, 67.90)
CIE-LCHlch(79.66, 76.98, 118.11°)
OKLaboklab(81.24% -0.1052 0.1508)
OKLCHoklch(81.24% 0.184 124.9)
XYZxyz(40.4448, 56.0891, 12.4361)
Luminance0.5609 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7D538 #6638D5
analogous
#D5B538 #A7D538 #58D538
triadic
#A7D538 #38A7D5 #D538A7
tetradic
#A7D538 #38D5B5 #6638D5 #D53858
square
#A7D538 #38D5B5 #6638D5 #D53858
split-complementary
#A7D538 #3858D5 #B538D5
monochromatic
#5D791A #84AC24 #A7D538 #BDE06B #D4EA9D

Accessibility & contrast

On white

1.72
#A7D538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.22
#A7D538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7D538
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7D538#FFFFFF#000000##000000
##A7D5381.001.7212.2212.22
#FFFFFF1.721.0021.0021.00
#00000012.2221.001.001.00
##00000012.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C716
Deuteranopia (green-blind)
#DBC547
Tritanopia (blue-blind)
#AFCBB7
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #a7d538;
/* rgb */ color: rgb(167, 213, 56);
/* oklch */ color: oklch(81.2% 0.184 124.9);
Tailwind
colors: {
  custom: {
    50: '#c5e27a',
    500: '#a7d538',
    950: '#000000',
  },
}
SCSS
$custom: #a7d538;
$custom-light: #c5e27a;
$custom-dark: #000000;
JSON
{
  "hex": "#a7d538",
  "rgb": {
    "r": 167,
    "g": 213,
    "b": 56
  },
  "hsl": {
    "h": 77.58,
    "s": 65.145,
    "l": 52.745
  },
  "oklch": {
    "l": 0.81238,
    "c": 0.18392,
    "h": 124.9
  },
  "luminance": 0.5609
}

Semantic roles & 50–950 ramp

primary
#A7D538
secondary
#483081
accent
#40E871
background
#FEFEFB
surface
#FAFCF2
border
#D3D5CC
text
#13150A
muted
#83847D

Preview Lab

Preview with #A7D538

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

Preview Lab → · Contrast checker → · Palette generator →

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