#A8C12E#A8C12E

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

Color values

HEX#A8C12E
RGBrgb(168, 193, 46)
HSLhsl(70, 62%, 47%)
HSVhsv(70, 76%, 76%)
CMYKcmyk(13%, 0%, 76.2%, 24.3%)
CIE-LABlab(73.97, -27.02, 65.77)
CIE-LCHlch(73.97, 71.11, 112.33°)
OKLaboklab(76.64% -0.0807 0.1447)
OKLCHoklch(76.64% 0.166 119.2)
XYZxyz(35.7123, 46.6623, 9.7096)
Luminance0.4666 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8C12E #472EC1
analogous
#C1912E #A8C12E #5FC12E
triadic
#A8C12E #2EA8C1 #C12EA8
tetradic
#A8C12E #2EC191 #472EC1 #C12E5F
square
#A8C12E #2EC191 #472EC1 #C12E5F
split-complementary
#A8C12E #2E5FC1 #912EC1
monochromatic
#525E16 #7D9022 #A8C12E #C1D756 #D3E287

Accessibility & contrast

On white

2.03
#A8C12E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.33
#A8C12E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8C12E
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8C12E#FFFFFF#000000##000000
##A8C12E1.002.0310.3310.33
#FFFFFF2.031.0021.0021.00
#00000010.3321.001.001.00
##00000010.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8c12e;
/* rgb */ color: rgb(168, 193, 46);
/* oklch */ color: oklch(76.6% 0.166 119.2);
Tailwind
colors: {
  custom: {
    50: '#c6d373',
    500: '#a8c12e',
    950: '#000000',
  },
}
SCSS
$custom: #a8c12e;
$custom-light: #c6d373;
$custom-dark: #000000;
JSON
{
  "hex": "#a8c12e",
  "rgb": {
    "r": 168,
    "g": 193,
    "b": 46
  },
  "hsl": {
    "h": 70.204,
    "s": 61.506,
    "l": 46.863
  },
  "oklch": {
    "l": 0.76641,
    "c": 0.16568,
    "h": 119.2
  },
  "luminance": 0.46662
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A8C12E

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

Preview Lab → · Contrast checker → · Palette generator →

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