#A8A82E#A8A82E

#A8A82E 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.31:1 contrast (WCAG AA passes).

Color values

HEX#A8A82E
RGBrgb(168, 168, 46)
HSLhsl(60, 57%, 42%)
HSVhsv(60, 73%, 66%)
CMYKcmyk(0%, 0%, 72.6%, 34.1%)
CIE-LABlab(66.92, -14.56, 59.13)
CIE-LCHlch(66.92, 60.90, 103.84°)
OKLaboklab(70.98% -0.0462 0.1306)
OKLCHoklch(70.98% 0.139 109.5)
XYZxyz(30.6453, 36.5283, 8.0206)
Luminance0.3653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A82E #2E2EA8
analogous
#A86B2E #A8A82E #6BA82E
triadic
#A8A82E #2EA8A8 #A82EA8
tetradic
#A8A82E #2EA86B #2E2EA8 #A82E6B
square
#A8A82E #2EA86B #2E2EA8 #A82E6B
split-complementary
#A8A82E #2E6BA8 #6B2EA8
monochromatic
#484814 #787821 #A8A82E #CDCD47 #DADA77

Accessibility & contrast

On white

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

On black

8.31
#A8A82E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A82E
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A82E#FFFFFF#000000##000000
##A8A82E1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8a82e;
/* rgb */ color: rgb(168, 168, 46);
/* oklch */ color: oklch(71.0% 0.139 109.5);
Tailwind
colors: {
  custom: {
    50: '#c5c170',
    500: '#a8a82e',
    950: '#000000',
  },
}
SCSS
$custom: #a8a82e;
$custom-light: #c5c170;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a82e",
  "rgb": {
    "r": 168,
    "g": 168,
    "b": 46
  },
  "hsl": {
    "h": 60,
    "s": 57.009,
    "l": 41.961
  },
  "oklch": {
    "l": 0.70984,
    "c": 0.13856,
    "h": 109.5
  },
  "luminance": 0.36527
}

Semantic roles & 50–950 ramp

primary
#A8A82E
secondary
#7070C2
accent
#48E048
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A8A82E

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

Preview Lab → · Contrast checker → · Palette generator →

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