#A8A820#A8A820

#A8A820 is a light, vivid yellow. Relative luminance 0.364; OKLCH L 70.9% C 0.146 H 109.6°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#A8A820
RGBrgb(168, 168, 32)
HSLhsl(60, 68%, 39%)
HSVhsv(60, 81%, 66%)
CMYKcmyk(0%, 0%, 81%, 34.1%)
CIE-LABlab(66.85, -15.13, 63.51)
CIE-LCHlch(66.85, 65.29, 103.40°)
OKLaboklab(70.91% -0.0489 0.1374)
OKLCHoklch(70.91% 0.146 109.6)
XYZxyz(30.4130, 36.4353, 6.7969)
Luminance0.3643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A820 #2020A8
analogous
#A86420 #A8A820 #64A820
triadic
#A8A820 #20A8A8 #A820A8
tetradic
#A8A820 #20A864 #2020A8 #A82064
square
#A8A820 #20A864 #2020A8 #A82064
split-complementary
#A8A820 #2064A8 #6420A8
monochromatic
#41410C #757516 #A8A820 #D7D72E #E1E161

Accessibility & contrast

On white

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

On black

8.29
#A8A820 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A820
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A820#FFFFFF#000000##000000
##A8A8201.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8a820;
/* rgb */ color: rgb(168, 168, 32);
/* oklch */ color: oklch(70.9% 0.146 109.6);
Tailwind
colors: {
  custom: {
    50: '#c6c169',
    500: '#a8a820',
    950: '#000000',
  },
}
SCSS
$custom: #a8a820;
$custom-light: #c6c169;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a820",
  "rgb": {
    "r": 168,
    "g": 168,
    "b": 32
  },
  "hsl": {
    "h": 60,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.70905,
    "c": 0.14585,
    "h": 109.6
  },
  "luminance": 0.36434
}

Semantic roles & 50–950 ramp

primary
#A8A820
secondary
#5E5EC6
accent
#3DEB3D
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A8A820

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

Preview Lab → · Contrast checker → · Palette generator →

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