#A8A726#A8A726

#A8A726 is a light, vivid yellow. Relative luminance 0.361; OKLCH L 70.7% C 0.142 H 109.1°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#A8A726
RGBrgb(168, 167, 38)
HSLhsl(60, 63%, 40%)
HSVhsv(60, 77%, 66%)
CMYKcmyk(0%, 0.6%, 77.4%, 34.1%)
CIE-LABlab(66.60, -14.40, 61.52)
CIE-LCHlch(66.60, 63.18, 103.17°)
OKLaboklab(70.71% -0.0464 0.1342)
OKLCHoklch(70.71% 0.142 109.1)
XYZxyz(30.3182, 36.1032, 7.2049)
Luminance0.3610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A726 #2627A8
analogous
#A86626 #A8A726 #68A826
triadic
#A8A726 #26A8A7 #A726A8
tetradic
#A8A726 #26A866 #2627A8 #A82668
square
#A8A726 #26A866 #2627A8 #A82668
split-complementary
#A8A726 #2668A8 #6626A8
monochromatic
#44440F #76751B #A8A726 #D2D139 #DEDD6B

Accessibility & contrast

On white

2.55
#A8A726 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#A8A726 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A726
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A726#FFFFFF#000000##000000
##A8A7261.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A001
Deuteranopia (green-blind)
#B7A431
Tritanopia (blue-blind)
#B49C8F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a8a726;
/* rgb */ color: rgb(168, 167, 38);
/* oklch */ color: oklch(70.7% 0.142 109.1);
Tailwind
colors: {
  custom: {
    50: '#c6c06c',
    500: '#a8a726',
    950: '#000000',
  },
}
SCSS
$custom: #a8a726;
$custom-light: #c6c06c;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a726",
  "rgb": {
    "r": 168,
    "g": 167,
    "b": 38
  },
  "hsl": {
    "h": 59.538,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.70712,
    "c": 0.14203,
    "h": 109.1
  },
  "luminance": 0.36102
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A8A726

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

Preview Lab → · Contrast checker → · Palette generator →

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