#A8BE2A#A8BE2A

#A8BE2A is a light, vivid yellow. Relative luminance 0.453; OKLCH L 75.9% C 0.164 H 118.1°. Best body text is #000000 at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#A8BE2A
RGBrgb(168, 190, 42)
HSLhsl(69, 64%, 45%)
HSVhsv(69, 78%, 75%)
CMYKcmyk(11.6%, 0%, 77.9%, 25.5%)
CIE-LABlab(73.10, -25.74, 66.20)
CIE-LCHlch(73.10, 71.03, 111.25°)
OKLaboklab(75.93% -0.0775 0.1449)
OKLCHoklch(75.93% 0.164 118.1)
XYZxyz(34.9807, 45.3192, 9.0947)
Luminance0.4532 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8BE2A #402ABE
analogous
#BE8A2A #A8BE2A #5EBE2A
triadic
#A8BE2A #2AA8BE #BE2AA8
tetradic
#A8BE2A #2ABE8A #402ABE #BE2A5E
square
#A8BE2A #2ABE8A #402ABE #BE2A5E
split-complementary
#A8BE2A #2A5EBE #8A2ABE
monochromatic
#4F5A14 #7C8C1F #A8BE2A #C3D84D #D4E380

Accessibility & contrast

On white

2.09
#A8BE2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.06
#A8BE2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8BE2A
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8BE2A#FFFFFF#000000##000000
##A8BE2A1.002.0910.0610.06
#FFFFFF2.091.0021.0021.00
#00000010.0621.001.001.00
##00000010.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB300
Deuteranopia (green-blind)
#C9B438
Tritanopia (blue-blind)
#B2B3A3
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #a8be2a;
/* rgb */ color: rgb(168, 190, 42);
/* oklch */ color: oklch(75.9% 0.164 118.1);
Tailwind
colors: {
  custom: {
    50: '#c6d170',
    500: '#a8be2a',
    950: '#000000',
  },
}
SCSS
$custom: #a8be2a;
$custom-light: #c6d170;
$custom-dark: #000000;
JSON
{
  "hex": "#a8be2a",
  "rgb": {
    "r": 168,
    "g": 190,
    "b": 42
  },
  "hsl": {
    "h": 68.919,
    "s": 63.793,
    "l": 45.49
  },
  "oklch": {
    "l": 0.75933,
    "c": 0.16434,
    "h": 118.1
  },
  "luminance": 0.45319
}

Semantic roles & 50–950 ramp

primary
#A8BE2A
secondary
#8578CB
accent
#41E75A
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#131408
muted
#82827B

Preview Lab

Preview with #A8BE2A

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

Preview Lab → · Contrast checker → · Palette generator →

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