#A8A81E#A8A81E

#A8A81E is a light, vivid yellow. Relative luminance 0.364; OKLCH L 70.9% C 0.147 H 109.6°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#A8A81E
RGBrgb(168, 168, 30)
HSLhsl(60, 70%, 39%)
HSVhsv(60, 82%, 66%)
CMYKcmyk(0%, 0%, 82.1%, 34.1%)
CIE-LABlab(66.84, -15.19, 64.04)
CIE-LCHlch(66.84, 65.82, 103.35°)
OKLaboklab(70.9% -0.0493 0.1382)
OKLCHoklch(70.9% 0.147 109.6)
XYZxyz(30.3866, 36.4248, 6.6581)
Luminance0.3642 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A81E #1E1EA8
analogous
#A8631E #A8A81E #63A81E
triadic
#A8A81E #1EA8A8 #A81EA8
tetradic
#A8A81E #1EA863 #1E1EA8 #A81E63
square
#A8A81E #1EA863 #1E1EA8 #A81E63
split-complementary
#A8A81E #1E63A8 #631EA8
monochromatic
#40400B #747415 #A8A81E #D9D92A #E2E25E

Accessibility & contrast

On white

2.53
#A8A81E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#A8A81E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A81E
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A81E#FFFFFF#000000##000000
##A8A81E1.002.538.288.28
#FFFFFF2.531.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A100
Deuteranopia (green-blind)
#B8A42C
Tritanopia (blue-blind)
#B59D8F
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a8a81e;
/* rgb */ color: rgb(168, 168, 30);
/* oklch */ color: oklch(70.9% 0.147 109.6);
Tailwind
colors: {
  custom: {
    50: '#c6c169',
    500: '#a8a81e',
    950: '#000000',
  },
}
SCSS
$custom: #a8a81e;
$custom-light: #c6c169;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a81e",
  "rgb": {
    "r": 168,
    "g": 168,
    "b": 30
  },
  "hsl": {
    "h": 60,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.70896,
    "c": 0.14669,
    "h": 109.6
  },
  "luminance": 0.36424
}

Semantic roles & 50–950 ramp

primary
#A8A81E
secondary
#5B5BC7
accent
#3BED3B
background
#FCFBF6
surface
#F9F7EB
border
#D2D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #A8A81E

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

Preview Lab → · Contrast checker → · Palette generator →

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