#A8A923#A8A923

#A8A923 is a light, vivid yellow. Relative luminance 0.368; OKLCH L 71.1% C 0.145 H 110.0°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#A8A923
RGBrgb(168, 169, 35)
HSLhsl(60, 66%, 40%)
HSVhsv(60, 79%, 66%)
CMYKcmyk(0.6%, 0%, 79.3%, 33.7%)
CIE-LABlab(67.14, -15.54, 62.91)
CIE-LCHlch(67.14, 64.81, 103.87°)
OKLaboklab(71.14% -0.0498 0.1367)
OKLCHoklch(71.14% 0.145 110)
XYZxyz(30.6409, 36.8230, 7.0833)
Luminance0.3682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A923 #2423A9
analogous
#A96723 #A8A923 #65A923
triadic
#A8A923 #23A8A9 #A923A8
tetradic
#A8A923 #23A967 #2423A9 #A92365
square
#A8A923 #23A967 #2423A9 #A92365
split-complementary
#A8A923 #2365A9 #6723A9
monochromatic
#43440E #767619 #A8A923 #D4D534 #DFDF67

Accessibility & contrast

On white

2.51
#A8A923 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#A8A923 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A923
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A923#FFFFFF#000000##000000
##A8A9231.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#B8A52F
Tritanopia (blue-blind)
#B49E91
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a8a923;
/* rgb */ color: rgb(168, 169, 35);
/* oklch */ color: oklch(71.1% 0.145 110.0);
Tailwind
colors: {
  custom: {
    50: '#c6c26b',
    500: '#a8a923',
    950: '#000000',
  },
}
SCSS
$custom: #a8a923;
$custom-light: #c6c26b;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a923",
  "rgb": {
    "r": 168,
    "g": 169,
    "b": 35
  },
  "hsl": {
    "h": 60.448,
    "s": 65.686,
    "l": 40
  },
  "oklch": {
    "l": 0.71144,
    "c": 0.14547,
    "h": 110
  },
  "luminance": 0.36822
}

Semantic roles & 50–950 ramp

primary
#A8A923
secondary
#6363C5
accent
#3FE940
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A8A923

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

Preview Lab → · Contrast checker → · Palette generator →

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