#A8BC2A#A8BC2A

#A8BC2A is a light, vivid yellow. Relative luminance 0.445; OKLCH L 75.5% C 0.162 H 117.5°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#A8BC2A
RGBrgb(168, 188, 42)
HSLhsl(68, 63%, 45%)
HSVhsv(68, 78%, 74%)
CMYKcmyk(10.6%, 0%, 77.7%, 26.3%)
CIE-LABlab(72.53, -24.77, 65.68)
CIE-LCHlch(72.53, 70.20, 110.66°)
OKLaboklab(75.48% -0.0748 0.1438)
OKLCHoklch(75.48% 0.162 117.5)
XYZxyz(34.5504, 44.4588, 8.9513)
Luminance0.4446 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8BC2A #3E2ABC
analogous
#BC872A #A8BC2A #5FBC2A
triadic
#A8BC2A #2AA8BC #BC2AA8
tetradic
#A8BC2A #2ABC87 #3E2ABC #BC2A5F
square
#A8BC2A #2ABC87 #3E2ABC #BC2A5F
split-complementary
#A8BC2A #2A5FBC #872ABC
monochromatic
#4F5814 #7B8A1F #A8BC2A #C4D74C #D5E27E

Accessibility & contrast

On white

2.12
#A8BC2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.89
#A8BC2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8BC2A
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8BC2A#FFFFFF#000000##000000
##A8BC2A1.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B200
Deuteranopia (green-blind)
#C7B338
Tritanopia (blue-blind)
#B3B1A1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #a8bc2a;
/* rgb */ color: rgb(168, 188, 42);
/* oklch */ color: oklch(75.5% 0.162 117.5);
Tailwind
colors: {
  custom: {
    50: '#c6d070',
    500: '#a8bc2a',
    950: '#000000',
  },
}
SCSS
$custom: #a8bc2a;
$custom-light: #c6d070;
$custom-dark: #000000;
JSON
{
  "hex": "#a8bc2a",
  "rgb": {
    "r": 168,
    "g": 188,
    "b": 42
  },
  "hsl": {
    "h": 68.219,
    "s": 63.478,
    "l": 45.098
  },
  "oklch": {
    "l": 0.75476,
    "c": 0.16212,
    "h": 117.5
  },
  "luminance": 0.44458
}

Semantic roles & 50–950 ramp

primary
#A8BC2A
secondary
#8377CB
accent
#41E758
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8BC2A

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

Preview Lab → · Contrast checker → · Palette generator →

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