#A8A823#A8A823

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

Color values

HEX#A8A823
RGBrgb(168, 168, 35)
HSLhsl(60, 66%, 40%)
HSVhsv(60, 79%, 66%)
CMYKcmyk(0%, 0%, 79.2%, 34.1%)
CIE-LABlab(66.86, -15.03, 62.67)
CIE-LCHlch(66.86, 64.44, 103.48°)
OKLaboklab(70.92% -0.0484 0.1361)
OKLCHoklch(70.92% 0.144 109.6)
XYZxyz(30.4556, 36.4524, 7.0215)
Luminance0.3645 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A823 #2323A8
analogous
#A86623 #A8A823 #66A823
triadic
#A8A823 #23A8A8 #A823A8
tetradic
#A8A823 #23A866 #2323A8 #A82366
square
#A8A823 #23A866 #2323A8 #A82366
split-complementary
#A8A823 #2366A8 #6623A8
monochromatic
#43430E #757518 #A8A823 #D5D534 #DFDF66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8A823#FFFFFF#000000##000000
##A8A8231.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)
#B8A52F
Tritanopia (blue-blind)
#B49D90
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a8a823;
/* rgb */ color: rgb(168, 168, 35);
/* oklch */ color: oklch(70.9% 0.144 109.6);
Tailwind
colors: {
  custom: {
    50: '#c6c16b',
    500: '#a8a823',
    950: '#000000',
  },
}
SCSS
$custom: #a8a823;
$custom-light: #c6c16b;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a823",
  "rgb": {
    "r": 168,
    "g": 168,
    "b": 35
  },
  "hsl": {
    "h": 60,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.7092,
    "c": 0.14448,
    "h": 109.6
  },
  "luminance": 0.36451
}

Semantic roles & 50–950 ramp

primary
#A8A823
secondary
#6262C5
accent
#3FE83F
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A8A823

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

Preview Lab → · Contrast checker → · Palette generator →

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