#A7C042#A7C042

#A7C042 is a light, vivid yellow-green. Relative luminance 0.463; OKLCH L 76.5% C 0.152 H 119.8°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#A7C042
RGBrgb(167, 192, 66)
HSLhsl(72, 50%, 51%)
HSVhsv(72, 66%, 75%)
CMYKcmyk(13%, 0%, 65.6%, 24.7%)
CIE-LABlab(73.75, -25.84, 58.29)
CIE-LCHlch(73.75, 63.77, 113.91°)
OKLaboklab(76.48% -0.0756 0.1322)
OKLCHoklch(76.48% 0.152 119.8)
XYZxyz(35.7699, 46.3083, 12.2072)
Luminance0.4631 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7C042 #5B42C0
analogous
#C09A42 #A7C042 #68C042
triadic
#A7C042 #42A7C0 #C042A7
tetradic
#A7C042 #42C09A #5B42C0 #C04268
square
#A7C042 #42C09A #5B42C0 #C04268
split-complementary
#A7C042 #4268C0 #9A42C0
monochromatic
#586622 #809431 #A7C042 #BCCF70 #D2DF9E

Accessibility & contrast

On white

2.05
#A7C042 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.26
#A7C042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7C042
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7C042#FFFFFF#000000##000000
##A7C0421.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB531
Deuteranopia (green-blind)
#C9B64B
Tritanopia (blue-blind)
#B0B6A6
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #a7c042;
/* rgb */ color: rgb(167, 192, 66);
/* oklch */ color: oklch(76.5% 0.152 119.8);
Tailwind
colors: {
  custom: {
    50: '#c4d37d',
    500: '#a7c042',
    950: '#000000',
  },
}
SCSS
$custom: #a7c042;
$custom-light: #c4d37d;
$custom-dark: #000000;
JSON
{
  "hex": "#a7c042",
  "rgb": {
    "r": 167,
    "g": 192,
    "b": 66
  },
  "hsl": {
    "h": 71.905,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.7648,
    "c": 0.15227,
    "h": 119.8
  },
  "luminance": 0.46308
}

Semantic roles & 50–950 ramp

primary
#A7C042
secondary
#9E93CB
accent
#4EDA6A
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13140A
muted
#82827C

Preview Lab

Preview with #A7C042

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

Preview Lab → · Contrast checker → · Palette generator →

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