#A7D338#A7D338

#A7D338 is a light, vivid yellow-green. Relative luminance 0.551; OKLCH L 80.8% C 0.182 H 124.5°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#A7D338
RGBrgb(167, 211, 56)
HSLhsl(77, 64%, 52%)
HSVhsv(77, 73%, 83%)
CMYKcmyk(20.9%, 0%, 73.5%, 17.3%)
CIE-LABlab(79.09, -35.36, 67.35)
CIE-LCHlch(79.09, 76.07, 117.70°)
OKLaboklab(80.77% -0.1027 0.1497)
OKLCHoklch(80.77% 0.182 124.5)
XYZxyz(39.9448, 55.0891, 12.2694)
Luminance0.5509 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7D338 #6438D3
analogous
#D3B138 #A7D338 #5AD338
triadic
#A7D338 #38A7D3 #D338A7
tetradic
#A7D338 #38D3B1 #6438D3 #D3385A
square
#A7D338 #38D3B1 #6438D3 #D3385A
split-complementary
#A7D338 #385AD3 #B138D3
monochromatic
#5C761A #83A925 #A7D338 #BDDE6A #D3E99C

Accessibility & contrast

On white

1.75
#A7D338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.02
#A7D338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7D338
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7D338#FFFFFF#000000##000000
##A7D3381.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC517
Deuteranopia (green-blind)
#D9C346
Tritanopia (blue-blind)
#AFC9B5
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #a7d338;
/* rgb */ color: rgb(167, 211, 56);
/* oklch */ color: oklch(80.8% 0.182 124.5);
Tailwind
colors: {
  custom: {
    50: '#c5e079',
    500: '#a7d338',
    950: '#000000',
  },
}
SCSS
$custom: #a7d338;
$custom-light: #c5e079;
$custom-dark: #000000;
JSON
{
  "hex": "#a7d338",
  "rgb": {
    "r": 167,
    "g": 211,
    "b": 56
  },
  "hsl": {
    "h": 77.032,
    "s": 63.786,
    "l": 52.353
  },
  "oklch": {
    "l": 0.80775,
    "c": 0.18155,
    "h": 124.5
  },
  "luminance": 0.5509
}

Semantic roles & 50–950 ramp

primary
#A7D338
secondary
#47307F
accent
#41E770
background
#FEFEFB
surface
#FAFCF2
border
#D3D5CC
text
#13150A
muted
#83847D

Preview Lab

Preview with #A7D338

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

Preview Lab → · Contrast checker → · Palette generator →

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