#A8A826#A8A826

#A8A826 is a light, vivid yellow. Relative luminance 0.365; OKLCH L 70.9% C 0.143 H 109.6°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#A8A826
RGBrgb(168, 168, 38)
HSLhsl(60, 63%, 40%)
HSVhsv(60, 77%, 66%)
CMYKcmyk(0%, 0%, 77.4%, 34.1%)
CIE-LABlab(66.88, -14.91, 61.77)
CIE-LCHlch(66.88, 63.54, 103.57°)
OKLaboklab(70.94% -0.0479 0.1348)
OKLCHoklch(70.94% 0.143 109.6)
XYZxyz(30.5021, 36.4710, 7.2662)
Luminance0.3647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A826 #2626A8
analogous
#A86726 #A8A826 #67A826
triadic
#A8A826 #26A8A8 #A826A8
tetradic
#A8A826 #26A867 #2626A8 #A82667
square
#A8A826 #26A867 #2626A8 #A82667
split-complementary
#A8A826 #2667A8 #6726A8
monochromatic
#44440F #76761B #A8A826 #D2D239 #DEDE6B

Accessibility & contrast

On white

2.53
#A8A826 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#A8A826 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A826
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A826#FFFFFF#000000##000000
##A8A8261.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A100
Deuteranopia (green-blind)
#B7A531
Tritanopia (blue-blind)
#B49D90
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a8a826;
/* rgb */ color: rgb(168, 168, 38);
/* oklch */ color: oklch(70.9% 0.143 109.6);
Tailwind
colors: {
  custom: {
    50: '#c6c16c',
    500: '#a8a826',
    950: '#000000',
  },
}
SCSS
$custom: #a8a826;
$custom-light: #c6c16c;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a826",
  "rgb": {
    "r": 168,
    "g": 168,
    "b": 38
  },
  "hsl": {
    "h": 60,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.70936,
    "c": 0.14302,
    "h": 109.6
  },
  "luminance": 0.3647
}

Semantic roles & 50–950 ramp

primary
#A8A826
secondary
#6666C4
accent
#42E642
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A8A826

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

Preview Lab → · Contrast checker → · Palette generator →

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