#A8A827#A8A827

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

Color values

HEX#A8A827
RGBrgb(168, 168, 39)
HSLhsl(60, 62%, 41%)
HSVhsv(60, 77%, 66%)
CMYKcmyk(0%, 0%, 76.8%, 34.1%)
CIE-LABlab(66.88, -14.87, 61.46)
CIE-LCHlch(66.88, 63.23, 103.60°)
OKLaboklab(70.94% -0.0477 0.1343)
OKLCHoklch(70.94% 0.143 109.5)
XYZxyz(30.5184, 36.4775, 7.3523)
Luminance0.3648 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A827 #2727A8
analogous
#A86727 #A8A827 #67A827
triadic
#A8A827 #27A8A8 #A827A8
tetradic
#A8A827 #27A867 #2727A8 #A82767
square
#A8A827 #27A867 #2727A8 #A82767
split-complementary
#A8A827 #2767A8 #6727A8
monochromatic
#454510 #76761B #A8A827 #D1D13B #DDDD6C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8A827#FFFFFF#000000##000000
##A8A8271.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)
#B6A103
Deuteranopia (green-blind)
#B7A532
Tritanopia (blue-blind)
#B49D90
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a8a827;
/* rgb */ color: rgb(168, 168, 39);
/* oklch */ color: oklch(70.9% 0.142 109.5);
Tailwind
colors: {
  custom: {
    50: '#c6c16c',
    500: '#a8a827',
    950: '#000000',
  },
}
SCSS
$custom: #a8a827;
$custom-light: #c6c16c;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a827",
  "rgb": {
    "r": 168,
    "g": 168,
    "b": 39
  },
  "hsl": {
    "h": 60,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.70941,
    "c": 0.1425,
    "h": 109.5
  },
  "luminance": 0.36477
}

Semantic roles & 50–950 ramp

primary
#A8A827
secondary
#6767C3
accent
#42E542
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A8A827

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

Preview Lab → · Contrast checker → · Palette generator →

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