#A7D939#A7D939

#A7D939 is a very light, vivid yellow-green. Relative luminance 0.581; OKLCH L 82.2% C 0.188 H 125.8°. Best body text is #000000 at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#A7D939
RGBrgb(167, 217, 57)
HSLhsl(79, 68%, 54%)
HSVhsv(79, 74%, 85%)
CMYKcmyk(23%, 0%, 73.7%, 14.9%)
CIE-LABlab(80.81, -38.02, 68.68)
CIE-LCHlch(80.81, 78.50, 118.97°)
OKLaboklab(82.17% -0.1099 0.1526)
OKLCHoklch(82.17% 0.188 125.8)
XYZxyz(41.4880, 58.1360, 12.9057)
Luminance0.5814 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7D939 #6B39D9
analogous
#D9BB39 #A7D939 #57D939
triadic
#A7D939 #39A7D9 #D939A7
tetradic
#A7D939 #39D9BB #6B39D9 #D93957
square
#A7D939 #39D9BB #6B39D9 #D93957
split-complementary
#A7D939 #3957D9 #BB39D9
monochromatic
#5F7F18 #85B322 #A7D939 #BEE36C #D5EDA0

Accessibility & contrast

On white

1.66
#A7D939 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.63
#A7D939 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7D939
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7D939#FFFFFF#000000##000000
##A7D9391.001.6612.6312.63
#FFFFFF1.661.0021.0021.00
#00000012.6321.001.001.00
##00000012.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CA16
Deuteranopia (green-blind)
#DEC848
Tritanopia (blue-blind)
#AECFBB
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #a7d939;
/* rgb */ color: rgb(167, 217, 57);
/* oklch */ color: oklch(82.2% 0.188 125.8);
Tailwind
colors: {
  custom: {
    50: '#c5e57b',
    500: '#a7d939',
    950: '#000000',
  },
}
SCSS
$custom: #a7d939;
$custom-light: #c5e57b;
$custom-dark: #000000;
JSON
{
  "hex": "#a7d939",
  "rgb": {
    "r": 167,
    "g": 217,
    "b": 57
  },
  "hsl": {
    "h": 78.75,
    "s": 67.797,
    "l": 53.725
  },
  "oklch": {
    "l": 0.82171,
    "c": 0.1881,
    "h": 125.8
  },
  "luminance": 0.58137
}

Semantic roles & 50–950 ramp

primary
#A7D939
secondary
#4B3086
accent
#3DEB73
background
#FEFEFB
surface
#FAFCF2
border
#D3D5CC
text
#13150A
muted
#83847D

Preview Lab

Preview with #A7D939

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

Preview Lab → · Contrast checker → · Palette generator →

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