#A7CD42#A7CD42

#A7CD42 is a light, vivid yellow-green. Relative luminance 0.523; OKLCH L 79.5% C 0.168 H 123.5°. Best body text is #000000 at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#A7CD42
RGBrgb(167, 205, 66)
HSLhsl(76, 58%, 53%)
HSVhsv(76, 68%, 80%)
CMYKcmyk(18.5%, 0%, 67.8%, 19.6%)
CIE-LABlab(77.44, -32.02, 62.12)
CIE-LCHlch(77.44, 69.89, 117.27°)
OKLaboklab(79.46% -0.0927 0.1402)
OKLCHoklch(79.46% 0.168 123.5)
XYZxyz(38.7514, 52.2712, 13.2010)
Luminance0.5227 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7CD42 #6842CD
analogous
#CDAD42 #A7CD42 #61CD42
triadic
#A7CD42 #42A7CD #CD42A7
tetradic
#A7CD42 #42CDAD #6842CD #CD4261
square
#A7CD42 #42CDAD #6842CD #CD4261
split-complementary
#A7CD42 #4261CD #AD42CD
monochromatic
#5E761F #85A62C #A7CD42 #BEDA72 #D4E7A3

Accessibility & contrast

On white

1.83
#A7CD42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.45
#A7CD42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7CD42
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7CD42#FFFFFF#000000##000000
##A7CD421.001.8311.4511.45
#FFFFFF1.831.0021.0021.00
#00000011.4521.001.001.00
##00000011.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C02D
Deuteranopia (green-blind)
#D4BF4D
Tritanopia (blue-blind)
#AFC3B1
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #a7cd42;
/* rgb */ color: rgb(167, 205, 66);
/* oklch */ color: oklch(79.5% 0.168 123.5);
Tailwind
colors: {
  custom: {
    50: '#c4dc7e',
    500: '#a7cd42',
    950: '#000000',
  },
}
SCSS
$custom: #a7cd42;
$custom-light: #c4dc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#a7cd42",
  "rgb": {
    "r": 167,
    "g": 205,
    "b": 66
  },
  "hsl": {
    "h": 76.403,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.79461,
    "c": 0.1681,
    "h": 123.5
  },
  "luminance": 0.52271
}

Semantic roles & 50–950 ramp

primary
#A7CD42
secondary
#49357E
accent
#46E171
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #A7CD42

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

Preview Lab → · Contrast checker → · Palette generator →

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