#A8A82F#A8A82F

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

Color values

HEX#A8A82F
RGBrgb(168, 168, 47)
HSLhsl(60, 56%, 42%)
HSVhsv(60, 72%, 66%)
CMYKcmyk(0%, 0%, 72%, 34.1%)
CIE-LABlab(66.93, -14.52, 58.78)
CIE-LCHlch(66.93, 60.54, 103.87°)
OKLaboklab(70.99% -0.0459 0.1301)
OKLCHoklch(70.99% 0.138 109.5)
XYZxyz(30.6653, 36.5362, 8.1256)
Luminance0.3654 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A82F #2F2FA8
analogous
#A86C2F #A8A82F #6CA82F
triadic
#A8A82F #2FA8A8 #A82FA8
tetradic
#A8A82F #2FA86C #2F2FA8 #A82F6C
square
#A8A82F #2FA86C #2F2FA8 #A82F6C
split-complementary
#A8A82F #2F6CA8 #6C2FA8
monochromatic
#484814 #787822 #A8A82F #CCCC48 #D9D978

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8A82F#FFFFFF#000000##000000
##A8A82F1.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)
#B6A119
Deuteranopia (green-blind)
#B7A538
Tritanopia (blue-blind)
#B49D91
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a8a82f;
/* rgb */ color: rgb(168, 168, 47);
/* oklch */ color: oklch(71.0% 0.138 109.5);
Tailwind
colors: {
  custom: {
    50: '#c5c170',
    500: '#a8a82f',
    950: '#000000',
  },
}
SCSS
$custom: #a8a82f;
$custom-light: #c5c170;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a82f",
  "rgb": {
    "r": 168,
    "g": 168,
    "b": 47
  },
  "hsl": {
    "h": 60,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.70991,
    "c": 0.13794,
    "h": 109.5
  },
  "luminance": 0.36535
}

Semantic roles & 50–950 ramp

primary
#A8A82F
secondary
#7171C1
accent
#48E048
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A8A82F

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

Preview Lab → · Contrast checker → · Palette generator →

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