#A8A82B#A8A82B

#A8A82B is a light, vivid yellow. Relative luminance 0.365; OKLCH L 71.0% C 0.140 H 109.5°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#A8A82B
RGBrgb(168, 168, 43)
HSLhsl(60, 59%, 41%)
HSVhsv(60, 74%, 66%)
CMYKcmyk(0%, 0%, 74.4%, 34.1%)
CIE-LABlab(66.90, -14.70, 60.16)
CIE-LCHlch(66.90, 61.93, 103.73°)
OKLaboklab(70.97% -0.0468 0.1323)
OKLCHoklch(70.97% 0.14 109.5)
XYZxyz(30.5882, 36.5054, 7.7200)
Luminance0.3650 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A82B #2B2BA8
analogous
#A86A2B #A8A82B #6AA82B
triadic
#A8A82B #2BA8A8 #A82BA8
tetradic
#A8A82B #2BA86A #2B2BA8 #A82B6A
square
#A8A82B #2BA86A #2B2BA8 #A82B6A
split-complementary
#A8A82B #2B6AA8 #6A2BA8
monochromatic
#474712 #77771F #A8A82B #CFCF42 #DBDB72

Accessibility & contrast

On white

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

On black

8.30
#A8A82B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A82B
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A82B#FFFFFF#000000##000000
##A8A82B1.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A110
Deuteranopia (green-blind)
#B7A535
Tritanopia (blue-blind)
#B49D90
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a8a82b;
/* rgb */ color: rgb(168, 168, 43);
/* oklch */ color: oklch(71.0% 0.140 109.5);
Tailwind
colors: {
  custom: {
    50: '#c5c16e',
    500: '#a8a82b',
    950: '#000000',
  },
}
SCSS
$custom: #a8a82b;
$custom-light: #c5c16e;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a82b",
  "rgb": {
    "r": 168,
    "g": 168,
    "b": 43
  },
  "hsl": {
    "h": 60,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.70965,
    "c": 0.14033,
    "h": 109.5
  },
  "luminance": 0.36505
}

Semantic roles & 50–950 ramp

primary
#A8A82B
secondary
#6C6CC2
accent
#45E245
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A8A82B

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

Preview Lab → · Contrast checker → · Palette generator →

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