#A7C12E#A7C12E

#A7C12E is a light, vivid yellow-green. Relative luminance 0.466; OKLCH L 76.6% C 0.166 H 119.5°. Best body text is #000000 at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#A7C12E
RGBrgb(167, 193, 46)
HSLhsl(71, 62%, 47%)
HSVhsv(71, 76%, 76%)
CMYKcmyk(13.5%, 0%, 76.2%, 24.3%)
CIE-LABlab(73.90, -27.43, 65.68)
CIE-LCHlch(73.90, 71.18, 112.67°)
OKLaboklab(76.57% -0.0818 0.1445)
OKLCHoklch(76.57% 0.166 119.5)
XYZxyz(35.5002, 46.5529, 9.6997)
Luminance0.4655 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7C12E #482EC1
analogous
#C1922E #A7C12E #5EC12E
triadic
#A7C12E #2EA7C1 #C12EA7
tetradic
#A7C12E #2EC192 #482EC1 #C12E5E
square
#A7C12E #2EC192 #482EC1 #C12E5E
split-complementary
#A7C12E #2E5EC1 #922EC1
monochromatic
#515E16 #7C9022 #A7C12E #C0D756 #D2E287

Accessibility & contrast

On white

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

On black

10.31
#A7C12E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7C12E
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7C12E#FFFFFF#000000##000000
##A7C12E1.002.0410.3110.31
#FFFFFF2.041.0021.0021.00
#00000010.3121.001.001.00
##00000010.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB605
Deuteranopia (green-blind)
#CBB63C
Tritanopia (blue-blind)
#B1B6A6
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #a7c12e;
/* rgb */ color: rgb(167, 193, 46);
/* oklch */ color: oklch(76.6% 0.166 119.5);
Tailwind
colors: {
  custom: {
    50: '#c5d373',
    500: '#a7c12e',
    950: '#000000',
  },
}
SCSS
$custom: #a7c12e;
$custom-light: #c5d373;
$custom-dark: #000000;
JSON
{
  "hex": "#a7c12e",
  "rgb": {
    "r": 167,
    "g": 193,
    "b": 46
  },
  "hsl": {
    "h": 70.612,
    "s": 61.506,
    "l": 46.863
  },
  "oklch": {
    "l": 0.76567,
    "c": 0.16607,
    "h": 119.5
  },
  "luminance": 0.46553
}

Semantic roles & 50–950 ramp

primary
#A7C12E
secondary
#8C7FCC
accent
#43E560
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131409
muted
#82827B

Preview Lab

Preview with #A7C12E

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

Preview Lab → · Contrast checker → · Palette generator →

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