#A7C12B#A7C12B

#A7C12B 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.31:1 contrast (WCAG AA passes).

Color values

HEX#A7C12B
RGBrgb(167, 193, 43)
HSLhsl(70, 64%, 46%)
HSVhsv(70, 78%, 76%)
CMYKcmyk(13.5%, 0%, 77.7%, 24.3%)
CIE-LABlab(73.89, -27.56, 66.59)
CIE-LCHlch(73.89, 72.07, 112.48°)
OKLaboklab(76.55% -0.0824 0.1459)
OKLCHoklch(76.55% 0.168 119.4)
XYZxyz(35.4431, 46.5300, 9.3991)
Luminance0.4653 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7C12B #452BC1
analogous
#C1902B #A7C12B #5CC12B
triadic
#A7C12B #2BA7C1 #C12BA7
tetradic
#A7C12B #2BC190 #452BC1 #C12B5C
square
#A7C12B #2BC190 #452BC1 #C12B5C
split-complementary
#A7C12B #2B5CC1 #902BC1
monochromatic
#505D15 #7C8F20 #A7C12B #C1D851 #D3E383

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7C12B#FFFFFF#000000##000000
##A7C12B1.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)
#CEB600
Deuteranopia (green-blind)
#CBB63A
Tritanopia (blue-blind)
#B1B6A5
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #a7c12b;
/* rgb */ color: rgb(167, 193, 43);
/* oklch */ color: oklch(76.5% 0.168 119.4);
Tailwind
colors: {
  custom: {
    50: '#c5d371',
    500: '#a7c12b',
    950: '#000000',
  },
}
SCSS
$custom: #a7c12b;
$custom-light: #c5d371;
$custom-dark: #000000;
JSON
{
  "hex": "#a7c12b",
  "rgb": {
    "r": 167,
    "g": 193,
    "b": 43
  },
  "hsl": {
    "h": 70.4,
    "s": 63.559,
    "l": 46.275
  },
  "oklch": {
    "l": 0.7655,
    "c": 0.16759,
    "h": 119.4
  },
  "luminance": 0.4653
}

Semantic roles & 50–950 ramp

primary
#A7C12B
secondary
#897BCC
accent
#41E75E
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131408
muted
#82827B

Preview Lab

Preview with #A7C12B

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

Preview Lab → · Contrast checker → · Palette generator →

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