#A8A626#A8A626

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

Color values

HEX#A8A626
RGBrgb(168, 166, 38)
HSLhsl(59, 63%, 40%)
HSVhsv(59, 77%, 66%)
CMYKcmyk(0%, 1.2%, 77.4%, 34.1%)
CIE-LABlab(66.32, -13.88, 61.26)
CIE-LCHlch(66.32, 62.82, 102.77°)
OKLaboklab(70.49% -0.045 0.1337)
OKLCHoklch(70.49% 0.141 108.6)
XYZxyz(30.1357, 35.7382, 7.1441)
Luminance0.3574 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A626 #2628A8
analogous
#A86526 #A8A626 #69A826
triadic
#A8A626 #26A8A6 #A626A8
tetradic
#A8A626 #26A865 #2628A8 #A82669
square
#A8A626 #26A865 #2628A8 #A82669
split-complementary
#A8A626 #2669A8 #6526A8
monochromatic
#44430F #76751B #A8A626 #D2D039 #DEDC6B

Accessibility & contrast

On white

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

On black

8.15
#A8A626 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A626
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A626#FFFFFF#000000##000000
##A8A6261.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F02
Deuteranopia (green-blind)
#B6A331
Tritanopia (blue-blind)
#B49B8E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a8a626;
/* rgb */ color: rgb(168, 166, 38);
/* oklch */ color: oklch(70.5% 0.141 108.6);
Tailwind
colors: {
  custom: {
    50: '#c6c06c',
    500: '#a8a626',
    950: '#000000',
  },
}
SCSS
$custom: #a8a626;
$custom-light: #c6c06c;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a626",
  "rgb": {
    "r": 168,
    "g": 166,
    "b": 38
  },
  "hsl": {
    "h": 59.077,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.70489,
    "c": 0.14105,
    "h": 108.6
  },
  "luminance": 0.35737
}

Semantic roles & 50–950 ramp

primary
#A8A626
secondary
#6667C4
accent
#44E642
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A8A626

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

Preview Lab → · Contrast checker → · Palette generator →

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