#A7CC42#A7CC42

#A7CC42 is a light, vivid yellow-green. Relative luminance 0.518; OKLCH L 79.2% C 0.167 H 123.2°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#A7CC42
RGBrgb(167, 204, 66)
HSLhsl(76, 58%, 53%)
HSVhsv(76, 68%, 80%)
CMYKcmyk(18.1%, 0%, 67.6%, 20%)
CIE-LABlab(77.16, -31.55, 61.83)
CIE-LCHlch(77.16, 69.41, 117.03°)
OKLaboklab(79.23% -0.0914 0.1396)
OKLCHoklch(79.23% 0.167 123.2)
XYZxyz(38.5130, 51.7944, 13.1215)
Luminance0.5180 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7CC42 #6742CC
analogous
#CCAC42 #A7CC42 #62CC42
triadic
#A7CC42 #42A7CC #CC42A7
tetradic
#A7CC42 #42CCAC #6742CC #CC4262
square
#A7CC42 #42CCAC #6742CC #CC4262
split-complementary
#A7CC42 #4262CC #AC42CC
monochromatic
#5D741F #84A42C #A7CC42 #BDD972 #D4E6A2

Accessibility & contrast

On white

1.85
#A7CC42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.36
#A7CC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7CC42
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7CC42#FFFFFF#000000##000000
##A7CC421.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C02D
Deuteranopia (green-blind)
#D3BE4D
Tritanopia (blue-blind)
#AFC2B0
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #a7cc42;
/* rgb */ color: rgb(167, 204, 66);
/* oklch */ color: oklch(79.2% 0.167 123.2);
Tailwind
colors: {
  custom: {
    50: '#c4db7e',
    500: '#a7cc42',
    950: '#000000',
  },
}
SCSS
$custom: #a7cc42;
$custom-light: #c4db7e;
$custom-dark: #000000;
JSON
{
  "hex": "#a7cc42",
  "rgb": {
    "r": 167,
    "g": 204,
    "b": 66
  },
  "hsl": {
    "h": 76.087,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.79231,
    "c": 0.16688,
    "h": 123.2
  },
  "luminance": 0.51795
}

Semantic roles & 50–950 ramp

primary
#A7CC42
secondary
#48357D
accent
#47E170
background
#FDFEFB
surface
#F9FBF2
border
#D2D4CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #A7CC42

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

Preview Lab → · Contrast checker → · Palette generator →

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