#A7C226#A7C226

#A7C226 is a light, vivid yellow-green. Relative luminance 0.469; OKLCH L 76.8% C 0.171 H 119.6°. Best body text is #000000 at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#A7C226
RGBrgb(167, 194, 38)
HSLhsl(70, 67%, 45%)
HSVhsv(70, 80%, 76%)
CMYKcmyk(13.9%, 0%, 80.4%, 23.9%)
CIE-LABlab(74.15, -28.23, 68.25)
CIE-LCHlch(74.15, 73.86, 112.47°)
OKLaboklab(76.76% -0.0846 0.1486)
OKLCHoklch(76.76% 0.171 119.6)
XYZxyz(35.5788, 46.9392, 9.0192)
Luminance0.4694 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7C226 #4126C2
analogous
#C28F26 #A7C226 #59C226
triadic
#A7C226 #26A7C2 #C226A7
tetradic
#A7C226 #26C28F #4126C2 #C22659
square
#A7C226 #26C28F #4126C2 #C22659
split-complementary
#A7C226 #2659C2 #8F26C2
monochromatic
#4F5C12 #7B8F1C #A7C226 #C2DB4A #D3E67D

Accessibility & contrast

On white

2.02
#A7C226 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.39
#A7C226 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7C226
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7C226#FFFFFF#000000##000000
##A7C2261.002.0210.3910.39
#FFFFFF2.021.0021.0021.00
#00000010.3921.001.001.00
##00000010.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB600
Deuteranopia (green-blind)
#CCB736
Tritanopia (blue-blind)
#B1B7A6
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #a7c226;
/* rgb */ color: rgb(167, 194, 38);
/* oklch */ color: oklch(76.8% 0.171 119.6);
Tailwind
colors: {
  custom: {
    50: '#c5d46f',
    500: '#a7c226',
    950: '#000000',
  },
}
SCSS
$custom: #a7c226;
$custom-light: #c5d46f;
$custom-dark: #000000;
JSON
{
  "hex": "#a7c226",
  "rgb": {
    "r": 167,
    "g": 194,
    "b": 38
  },
  "hsl": {
    "h": 70.385,
    "s": 67.241,
    "l": 45.49
  },
  "oklch": {
    "l": 0.76755,
    "c": 0.17101,
    "h": 119.6
  },
  "luminance": 0.46939
}

Semantic roles & 50–950 ramp

primary
#A7C226
secondary
#8576CE
accent
#3EEA5C
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131408
muted
#82827B

Preview Lab

Preview with #A7C226

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

Preview Lab → · Contrast checker → · Palette generator →

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