#A7C142#A7C142

#A7C142 is a light, vivid yellow-green. Relative luminance 0.467; OKLCH L 76.7% C 0.153 H 120.1°. Best body text is #000000 at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#A7C142
RGBrgb(167, 193, 66)
HSLhsl(72, 51%, 51%)
HSVhsv(72, 66%, 76%)
CMYKcmyk(13.5%, 0%, 65.8%, 24.3%)
CIE-LABlab(74.03, -26.32, 58.59)
CIE-LCHlch(74.03, 64.23, 114.19°)
OKLaboklab(76.71% -0.077 0.1328)
OKLCHoklch(76.71% 0.153 120.1)
XYZxyz(35.9902, 46.7489, 12.2806)
Luminance0.4675 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7C142 #5C42C1
analogous
#C19B42 #A7C142 #67C142
triadic
#A7C142 #42A7C1 #C142A7
tetradic
#A7C142 #42C19B #5C42C1 #C14267
square
#A7C142 #42C19B #5C42C1 #C14267
split-complementary
#A7C142 #4267C1 #9B42C1
monochromatic
#596722 #809531 #A7C142 #BCD070 #D2DF9E

Accessibility & contrast

On white

2.03
#A7C142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.35
#A7C142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7C142
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7C142#FFFFFF#000000##000000
##A7C1421.002.0310.3510.35
#FFFFFF2.031.0021.0021.00
#00000010.3521.001.001.00
##00000010.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB631
Deuteranopia (green-blind)
#CAB64B
Tritanopia (blue-blind)
#B0B7A7
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #a7c142;
/* rgb */ color: rgb(167, 193, 66);
/* oklch */ color: oklch(76.7% 0.153 120.1);
Tailwind
colors: {
  custom: {
    50: '#c4d37d',
    500: '#a7c142',
    950: '#000000',
  },
}
SCSS
$custom: #a7c142;
$custom-light: #c4d37d;
$custom-dark: #000000;
JSON
{
  "hex": "#a7c142",
  "rgb": {
    "r": 167,
    "g": 193,
    "b": 66
  },
  "hsl": {
    "h": 72.283,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.76708,
    "c": 0.15348,
    "h": 120.1
  },
  "luminance": 0.46749
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A7C142

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

Preview Lab → · Contrast checker → · Palette generator →

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