#A8A623#A8A623

#A8A623 is a light, vivid yellow. Relative luminance 0.357; OKLCH L 70.5% C 0.143 H 108.6°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#A8A623
RGBrgb(168, 166, 35)
HSLhsl(59, 66%, 40%)
HSVhsv(59, 79%, 66%)
CMYKcmyk(0%, 1.2%, 79.2%, 34.1%)
CIE-LABlab(66.31, -13.99, 62.17)
CIE-LCHlch(66.31, 63.73, 102.69°)
OKLaboklab(70.47% -0.0455 0.1351)
OKLCHoklch(70.47% 0.143 108.6)
XYZxyz(30.0892, 35.7196, 6.8994)
Luminance0.3572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A623 #2325A8
analogous
#A86423 #A8A623 #67A823
triadic
#A8A623 #23A8A6 #A623A8
tetradic
#A8A623 #23A864 #2325A8 #A82367
square
#A8A623 #23A864 #2325A8 #A82367
split-complementary
#A8A623 #2367A8 #6423A8
monochromatic
#43420E #757418 #A8A623 #D5D234 #DFDD66

Accessibility & contrast

On white

2.58
#A8A623 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#A8A623 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A623
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A623#FFFFFF#000000##000000
##A8A6231.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F00
Deuteranopia (green-blind)
#B6A32F
Tritanopia (blue-blind)
#B59B8E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a8a623;
/* rgb */ color: rgb(168, 166, 35);
/* oklch */ color: oklch(70.5% 0.143 108.6);
Tailwind
colors: {
  custom: {
    50: '#c6c06a',
    500: '#a8a623',
    950: '#000000',
  },
}
SCSS
$custom: #a8a623;
$custom-light: #c6c06a;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a623",
  "rgb": {
    "r": 168,
    "g": 166,
    "b": 35
  },
  "hsl": {
    "h": 59.098,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.70473,
    "c": 0.14254,
    "h": 108.6
  },
  "luminance": 0.35719
}

Semantic roles & 50–950 ramp

primary
#A8A623
secondary
#6264C5
accent
#42E83F
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A8A623

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

Preview Lab → · Contrast checker → · Palette generator →

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