#A8B316#A8B316

#A8B316 is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.3% C 0.160 H 114.2°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#A8B316
RGBrgb(168, 179, 22)
HSLhsl(64, 78%, 39%)
HSVhsv(64, 88%, 70%)
CMYKcmyk(6.1%, 0%, 87.7%, 29.8%)
CIE-LABlab(69.91, -20.98, 68.42)
CIE-LCHlch(69.91, 71.56, 107.05°)
OKLaboklab(73.35% -0.0657 0.1464)
OKLCHoklch(73.35% 0.16 114.2)
XYZxyz(32.4144, 40.6236, 6.8925)
Luminance0.4062 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B316 #2116B3
analogous
#B37016 #A8B316 #5AB316
triadic
#A8B316 #16A8B3 #B316A8
tetradic
#A8B316 #16B370 #2116B3 #B3165A
square
#A8B316 #16B370 #2116B3 #B3165A
split-complementary
#A8B316 #165AB3 #7016B3
monochromatic
#424609 #757C0F #A8B316 #D6E422 #E0EB59

Accessibility & contrast

On white

2.30
#A8B316 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.12
#A8B316 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B316
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B316#FFFFFF#000000##000000
##A8B3161.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#C0AC29
Tritanopia (blue-blind)
#B4A898
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a8b316;
/* rgb */ color: rgb(168, 179, 22);
/* oklch */ color: oklch(73.3% 0.160 114.2);
Tailwind
colors: {
  custom: {
    50: '#c6c968',
    500: '#a8b316',
    950: '#000000',
  },
}
SCSS
$custom: #a8b316;
$custom-light: #c6c968;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b316",
  "rgb": {
    "r": 168,
    "g": 179,
    "b": 22
  },
  "hsl": {
    "h": 64.204,
    "s": 78.109,
    "l": 39.412
  },
  "oklch": {
    "l": 0.73346,
    "c": 0.16046,
    "h": 114.2
  },
  "luminance": 0.40623
}

Semantic roles & 50–950 ramp

primary
#A8B316
secondary
#5F57CE
accent
#33F541
background
#FCFCF6
surface
#F9F8EB
border
#D2D1C6
text
#141307
muted
#82827A

Preview Lab

Preview with #A8B316

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

Preview Lab → · Contrast checker → · Palette generator →

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