#A8B02A#A8B02A

#A8B02A is a light, vivid yellow. Relative luminance 0.395; OKLCH L 72.8% C 0.149 H 113.1°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#A8B02A
RGBrgb(168, 176, 42)
HSLhsl(64, 61%, 43%)
HSVhsv(64, 76%, 69%)
CMYKcmyk(4.5%, 0%, 76.1%, 31%)
CIE-LABlab(69.14, -18.82, 62.57)
CIE-LCHlch(69.14, 65.34, 106.74°)
OKLaboklab(72.75% -0.0584 0.1372)
OKLCHoklch(72.75% 0.149 113.1)
XYZxyz(32.0927, 39.5434, 8.1321)
Luminance0.3954 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B02A #322AB0
analogous
#B0752A #A8B02A #65B02A
triadic
#A8B02A #2AA8B0 #B02AA8
tetradic
#A8B02A #2AB075 #322AB0 #B02A65
square
#A8B02A #2AB075 #322AB0 #B02A65
split-complementary
#A8B02A #2A65B0 #752AB0
monochromatic
#4A4D12 #797F1E #A8B02A #CAD345 #D8DE76

Accessibility & contrast

On white

2.36
#A8B02A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#A8B02A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B02A
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B02A#FFFFFF#000000##000000
##A8B02A1.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA706
Deuteranopia (green-blind)
#BEAA36
Tritanopia (blue-blind)
#B4A597
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a8b02a;
/* rgb */ color: rgb(168, 176, 42);
/* oklch */ color: oklch(72.8% 0.149 113.1);
Tailwind
colors: {
  custom: {
    50: '#c5c76f',
    500: '#a8b02a',
    950: '#000000',
  },
}
SCSS
$custom: #a8b02a;
$custom-light: #c5c76f;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b02a",
  "rgb": {
    "r": 168,
    "g": 176,
    "b": 42
  },
  "hsl": {
    "h": 63.582,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.72754,
    "c": 0.14912,
    "h": 113.1
  },
  "luminance": 0.39543
}

Semantic roles & 50–950 ramp

primary
#A8B02A
secondary
#7570C6
accent
#43E54D
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8B02A

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

Preview Lab → · Contrast checker → · Palette generator →

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