#A8A526#A8A526

#A8A526 is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.3% C 0.140 H 108.1°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#A8A526
RGBrgb(168, 165, 38)
HSLhsl(59, 63%, 40%)
HSVhsv(59, 77%, 66%)
CMYKcmyk(0%, 1.8%, 77.4%, 34.1%)
CIE-LABlab(66.04, -13.36, 61.01)
CIE-LCHlch(66.04, 62.46, 102.35°)
OKLaboklab(70.27% -0.0435 0.1332)
OKLCHoklch(70.27% 0.14 108.1)
XYZxyz(29.9546, 35.3760, 7.0837)
Luminance0.3538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A526 #2629A8
analogous
#A86426 #A8A526 #6AA826
triadic
#A8A526 #26A8A5 #A526A8
tetradic
#A8A526 #26A864 #2629A8 #A8266A
square
#A8A526 #26A864 #2629A8 #A8266A
split-complementary
#A8A526 #266AA8 #6426A8
monochromatic
#44430F #76741B #A8A526 #D2CF39 #DEDB6B

Accessibility & contrast

On white

2.60
#A8A526 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#A8A526 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A526
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A526#FFFFFF#000000##000000
##A8A5261.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E03
Deuteranopia (green-blind)
#B5A231
Tritanopia (blue-blind)
#B59A8D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a8a526;
/* rgb */ color: rgb(168, 165, 38);
/* oklch */ color: oklch(70.3% 0.140 108.1);
Tailwind
colors: {
  custom: {
    50: '#c6bf6c',
    500: '#a8a526',
    950: '#000000',
  },
}
SCSS
$custom: #a8a526;
$custom-light: #c6bf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a526",
  "rgb": {
    "r": 168,
    "g": 165,
    "b": 38
  },
  "hsl": {
    "h": 58.615,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.70266,
    "c": 0.14009,
    "h": 108.1
  },
  "luminance": 0.35375
}

Semantic roles & 50–950 ramp

primary
#A8A526
secondary
#6668C4
accent
#45E642
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A8A526

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

Preview Lab → · Contrast checker → · Palette generator →

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