#A7C12A#A7C12A

#A7C12A is a light, vivid yellow-green. Relative luminance 0.465; OKLCH L 76.5% C 0.168 H 119.4°. Best body text is #000000 at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#A7C12A
RGBrgb(167, 193, 42)
HSLhsl(70, 64%, 46%)
HSVhsv(70, 78%, 76%)
CMYKcmyk(13.5%, 0%, 78.2%, 24.3%)
CIE-LABlab(73.88, -27.60, 66.88)
CIE-LCHlch(73.88, 72.35, 112.43°)
OKLaboklab(76.55% -0.0826 0.1464)
OKLCHoklch(76.55% 0.168 119.4)
XYZxyz(35.4250, 46.5228, 9.3036)
Luminance0.4652 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7C12A #442AC1
analogous
#C18F2A #A7C12A #5BC12A
triadic
#A7C12A #2AA7C1 #C12AA7
tetradic
#A7C12A #2AC18F #442AC1 #C12A5B
square
#A7C12A #2AC18F #442AC1 #C12A5B
split-complementary
#A7C12A #2A5BC1 #8F2AC1
monochromatic
#505C14 #7C8F1F #A7C12A #C1D94F #D3E482

Accessibility & contrast

On white

2.04
#A7C12A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.30
#A7C12A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7C12A
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7C12A#FFFFFF#000000##000000
##A7C12A1.002.0410.3010.30
#FFFFFF2.041.0021.0021.00
#00000010.3021.001.001.00
##00000010.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB600
Deuteranopia (green-blind)
#CBB639
Tritanopia (blue-blind)
#B1B6A5
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #a7c12a;
/* rgb */ color: rgb(167, 193, 42);
/* oklch */ color: oklch(76.5% 0.168 119.4);
Tailwind
colors: {
  custom: {
    50: '#c5d371',
    500: '#a7c12a',
    950: '#000000',
  },
}
SCSS
$custom: #a7c12a;
$custom-light: #c5d371;
$custom-dark: #000000;
JSON
{
  "hex": "#a7c12a",
  "rgb": {
    "r": 167,
    "g": 193,
    "b": 42
  },
  "hsl": {
    "h": 70.331,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.76545,
    "c": 0.16807,
    "h": 119.4
  },
  "luminance": 0.46523
}

Semantic roles & 50–950 ramp

primary
#A7C12A
secondary
#887ACD
accent
#41E75D
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131408
muted
#82827B

Preview Lab

Preview with #A7C12A

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

Preview Lab → · Contrast checker → · Palette generator →

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