#A8B021#A8B021

#A8B021 is a light, vivid yellow. Relative luminance 0.395; OKLCH L 72.7% C 0.153 H 113.0°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#A8B021
RGBrgb(168, 176, 33)
HSLhsl(63, 68%, 41%)
HSVhsv(63, 81%, 69%)
CMYKcmyk(4.5%, 0%, 81.3%, 31%)
CIE-LABlab(69.10, -19.17, 65.19)
CIE-LCHlch(69.10, 67.95, 106.38°)
OKLaboklab(72.71% -0.06 0.1412)
OKLCHoklch(72.71% 0.153 113)
XYZxyz(31.9494, 39.4860, 7.3771)
Luminance0.3948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B021 #2921B0
analogous
#B07021 #A8B021 #60B021
triadic
#A8B021 #21A8B0 #B021A8
tetradic
#A8B021 #21B070 #2921B0 #B02160
square
#A8B021 #21B070 #2921B0 #B02160
split-complementary
#A8B021 #2160B0 #7021B0
monochromatic
#46490E #777C17 #A8B021 #D0D935 #DCE369

Accessibility & contrast

On white

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

On black

8.90
#A8B021 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B021
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B021#FFFFFF#000000##000000
##A8B0211.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA700
Deuteranopia (green-blind)
#BEAA2F
Tritanopia (blue-blind)
#B4A596
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a8b021;
/* rgb */ color: rgb(168, 176, 33);
/* oklch */ color: oklch(72.7% 0.153 113.0);
Tailwind
colors: {
  custom: {
    50: '#c6c76b',
    500: '#a8b021',
    950: '#000000',
  },
}
SCSS
$custom: #a8b021;
$custom-light: #c6c76b;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b021",
  "rgb": {
    "r": 168,
    "g": 176,
    "b": 33
  },
  "hsl": {
    "h": 63.357,
    "s": 68.421,
    "l": 40.98
  },
  "oklch": {
    "l": 0.72708,
    "c": 0.15343,
    "h": 113
  },
  "luminance": 0.39485
}

Semantic roles & 50–950 ramp

primary
#A8B021
secondary
#6A64C8
accent
#3DEB46
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A8B021

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

Preview Lab → · Contrast checker → · Palette generator →

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