#A8A323#A8A323

#A8A323 is a light, vivid yellow. Relative luminance 0.346; OKLCH L 69.8% C 0.140 H 107.2°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#A8A323
RGBrgb(168, 163, 35)
HSLhsl(58, 66%, 40%)
HSVhsv(58, 79%, 66%)
CMYKcmyk(0%, 3%, 79.2%, 34.1%)
CIE-LABlab(65.47, -12.44, 61.43)
CIE-LCHlch(65.47, 62.67, 101.44°)
OKLaboklab(69.81% -0.0412 0.1335)
OKLCHoklch(69.81% 0.14 107.2)
XYZxyz(29.5502, 34.6416, 6.7197)
Luminance0.3464 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A323 #2328A8
analogous
#A86023 #A8A323 #6BA823
triadic
#A8A323 #23A8A3 #A323A8
tetradic
#A8A323 #23A860 #2328A8 #A8236B
square
#A8A323 #23A860 #2328A8 #A8236B
split-complementary
#A8A323 #236BA8 #6023A8
monochromatic
#43410E #757218 #A8A323 #D5CF34 #DFDB66

Accessibility & contrast

On white

2.65
#A8A323 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#A8A323 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A323
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A323#FFFFFF#000000##000000
##A8A3231.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#B4A12E
Tritanopia (blue-blind)
#B5988B
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a8a323;
/* rgb */ color: rgb(168, 163, 35);
/* oklch */ color: oklch(69.8% 0.140 107.2);
Tailwind
colors: {
  custom: {
    50: '#c6bd6a',
    500: '#a8a323',
    950: '#000000',
  },
}
SCSS
$custom: #a8a323;
$custom-light: #c6bd6a;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a323",
  "rgb": {
    "r": 168,
    "g": 163,
    "b": 35
  },
  "hsl": {
    "h": 57.744,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.69806,
    "c": 0.13969,
    "h": 107.2
  },
  "luminance": 0.34641
}

Semantic roles & 50–950 ramp

primary
#A8A323
secondary
#6266C5
accent
#46E83F
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A8A323

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

Preview Lab → · Contrast checker → · Palette generator →

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