#A8C12A#A8C12A

#A8C12A is a light, vivid yellow. Relative luminance 0.466; OKLCH L 76.6% C 0.168 H 119.1°. Best body text is #000000 at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#A8C12A
RGBrgb(168, 193, 42)
HSLhsl(70, 64%, 46%)
HSVhsv(70, 78%, 76%)
CMYKcmyk(13%, 0%, 78.2%, 24.3%)
CIE-LABlab(73.95, -27.19, 66.97)
CIE-LCHlch(73.95, 72.28, 112.10°)
OKLaboklab(76.62% -0.0815 0.1466)
OKLCHoklch(76.62% 0.168 119.1)
XYZxyz(35.6371, 46.6322, 9.3136)
Luminance0.4663 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8C12A #432AC1
analogous
#C18E2A #A8C12A #5CC12A
triadic
#A8C12A #2AA8C1 #C12AA8
tetradic
#A8C12A #2AC18E #432AC1 #C12A5C
square
#A8C12A #2AC18E #432AC1 #C12A5C
split-complementary
#A8C12A #2A5CC1 #8E2AC1
monochromatic
#505C14 #7C8F1F #A8C12A #C2D94F #D3E482

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8C12A#FFFFFF#000000##000000
##A8C12A1.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)
#CEB600
Deuteranopia (green-blind)
#CBB639
Tritanopia (blue-blind)
#B2B6A5
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #a8c12a;
/* rgb */ color: rgb(168, 193, 42);
/* oklch */ color: oklch(76.6% 0.168 119.1);
Tailwind
colors: {
  custom: {
    50: '#c6d371',
    500: '#a8c12a',
    950: '#000000',
  },
}
SCSS
$custom: #a8c12a;
$custom-light: #c6d371;
$custom-dark: #000000;
JSON
{
  "hex": "#a8c12a",
  "rgb": {
    "r": 168,
    "g": 193,
    "b": 42
  },
  "hsl": {
    "h": 69.934,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.76619,
    "c": 0.16768,
    "h": 119.1
  },
  "luminance": 0.46632
}

Semantic roles & 50–950 ramp

primary
#A8C12A
secondary
#887ACD
accent
#41E75C
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#131408
muted
#82827B

Preview Lab

Preview with #A8C12A

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

Preview Lab → · Contrast checker → · Palette generator →

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