#A8B416#A8B416

#A8B416 is a light, vivid yellow. Relative luminance 0.410; OKLCH L 73.6% C 0.161 H 114.5°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#A8B416
RGBrgb(168, 180, 22)
HSLhsl(65, 78%, 40%)
HSVhsv(65, 88%, 71%)
CMYKcmyk(6.7%, 0%, 87.8%, 29.4%)
CIE-LABlab(70.19, -21.47, 68.64)
CIE-LCHlch(70.19, 71.93, 107.37°)
OKLaboklab(73.57% -0.0671 0.1469)
OKLCHoklch(73.57% 0.161 114.5)
XYZxyz(32.6156, 41.0259, 6.9596)
Luminance0.4103 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B416 #2216B4
analogous
#B47116 #A8B416 #59B416
triadic
#A8B416 #16A8B4 #B416A8
tetradic
#A8B416 #16B471 #2216B4 #B41659
square
#A8B416 #16B471 #2216B4 #B41659
split-complementary
#A8B416 #1659B4 #7116B4
monochromatic
#424709 #757D0F #A8B416 #D5E423 #E0EB5A

Accessibility & contrast

On white

2.28
#A8B416 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.21
#A8B416 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B416
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B416#FFFFFF#000000##000000
##A8B4161.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AA00
Deuteranopia (green-blind)
#C1AD2A
Tritanopia (blue-blind)
#B4A999
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a8b416;
/* rgb */ color: rgb(168, 180, 22);
/* oklch */ color: oklch(73.6% 0.161 114.5);
Tailwind
colors: {
  custom: {
    50: '#c6ca68',
    500: '#a8b416',
    950: '#000000',
  },
}
SCSS
$custom: #a8b416;
$custom-light: #c6ca68;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b416",
  "rgb": {
    "r": 168,
    "g": 180,
    "b": 22
  },
  "hsl": {
    "h": 64.557,
    "s": 78.218,
    "l": 39.608
  },
  "oklch": {
    "l": 0.73572,
    "c": 0.16147,
    "h": 114.5
  },
  "luminance": 0.41025
}

Semantic roles & 50–950 ramp

primary
#A8B416
secondary
#6158CE
accent
#33F542
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141307
muted
#82827A

Preview Lab

Preview with #A8B416

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

Preview Lab → · Contrast checker → · Palette generator →

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