#A8A82D#A8A82D

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

Color values

HEX#A8A82D
RGBrgb(168, 168, 45)
HSLhsl(60, 58%, 42%)
HSVhsv(60, 73%, 66%)
CMYKcmyk(0%, 0%, 73.2%, 34.1%)
CIE-LABlab(66.92, -14.61, 59.48)
CIE-LCHlch(66.92, 61.25, 103.80°)
OKLaboklab(70.98% -0.0464 0.1312)
OKLCHoklch(70.98% 0.139 109.5)
XYZxyz(30.6258, 36.5205, 7.9180)
Luminance0.3652 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A82D #2D2DA8
analogous
#A86B2D #A8A82D #6BA82D
triadic
#A8A82D #2DA8A8 #A82DA8
tetradic
#A8A82D #2DA86B #2D2DA8 #A82D6B
square
#A8A82D #2DA86B #2D2DA8 #A82D6B
split-complementary
#A8A82D #2D6BA8 #6B2DA8
monochromatic
#474713 #787820 #A8A82D #CDCD45 #DADA75

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8A82D#FFFFFF#000000##000000
##A8A82D1.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)
#B6A115
Deuteranopia (green-blind)
#B7A537
Tritanopia (blue-blind)
#B49D90
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a8a82d;
/* rgb */ color: rgb(168, 168, 45);
/* oklch */ color: oklch(71.0% 0.139 109.5);
Tailwind
colors: {
  custom: {
    50: '#c5c16f',
    500: '#a8a82d',
    950: '#000000',
  },
}
SCSS
$custom: #a8a82d;
$custom-light: #c5c16f;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a82d",
  "rgb": {
    "r": 168,
    "g": 168,
    "b": 45
  },
  "hsl": {
    "h": 60,
    "s": 57.746,
    "l": 41.765
  },
  "oklch": {
    "l": 0.70977,
    "c": 0.13916,
    "h": 109.5
  },
  "luminance": 0.3652
}

Semantic roles & 50–950 ramp

primary
#A8A82D
secondary
#6F6FC2
accent
#47E147
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A8A82D

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

Preview Lab → · Contrast checker → · Palette generator →

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