#A7C242#A7C242

#A7C242 is a light, vivid yellow-green. Relative luminance 0.472; OKLCH L 76.9% C 0.155 H 120.4°. Best body text is #000000 at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#A7C242
RGBrgb(167, 194, 66)
HSLhsl(73, 51%, 51%)
HSVhsv(73, 66%, 76%)
CMYKcmyk(13.9%, 0%, 66%, 23.9%)
CIE-LABlab(74.31, -26.81, 58.89)
CIE-LCHlch(74.31, 64.70, 114.48°)
OKLaboklab(76.94% -0.0783 0.1334)
OKLCHoklch(76.94% 0.155 120.4)
XYZxyz(36.2121, 47.1925, 12.3546)
Luminance0.4719 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7C242 #5D42C2
analogous
#C29D42 #A7C242 #67C242
triadic
#A7C242 #42A7C2 #C242A7
tetradic
#A7C242 #42C29D #5D42C2 #C24267
square
#A7C242 #42C29D #5D42C2 #C24267
split-complementary
#A7C242 #4267C2 #9D42C2
monochromatic
#596822 #819631 #A7C242 #BDD170 #D2E09F

Accessibility & contrast

On white

2.01
#A7C242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.44
#A7C242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7C242
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7C242#FFFFFF#000000##000000
##A7C2421.002.0110.4410.44
#FFFFFF2.011.0021.0021.00
#00000010.4421.001.001.00
##00000010.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB730
Deuteranopia (green-blind)
#CAB74C
Tritanopia (blue-blind)
#B0B8A8
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #a7c242;
/* rgb */ color: rgb(167, 194, 66);
/* oklch */ color: oklch(76.9% 0.155 120.4);
Tailwind
colors: {
  custom: {
    50: '#c4d47d',
    500: '#a7c242',
    950: '#000000',
  },
}
SCSS
$custom: #a7c242;
$custom-light: #c4d47d;
$custom-dark: #000000;
JSON
{
  "hex": "#a7c242",
  "rgb": {
    "r": 167,
    "g": 194,
    "b": 66
  },
  "hsl": {
    "h": 72.656,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.76937,
    "c": 0.1547,
    "h": 120.4
  },
  "luminance": 0.47192
}

Semantic roles & 50–950 ramp

primary
#A7C242
secondary
#A094CC
accent
#4DDB6B
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#13140A
muted
#82837C

Preview Lab

Preview with #A7C242

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

Preview Lab → · Contrast checker → · Palette generator →

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