#A8A825#A8A825

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

Color values

HEX#A8A825
RGBrgb(168, 168, 37)
HSLhsl(60, 64%, 40%)
HSVhsv(60, 78%, 66%)
CMYKcmyk(0%, 0%, 78%, 34.1%)
CIE-LABlab(66.87, -14.95, 62.07)
CIE-LCHlch(66.87, 63.85, 103.54°)
OKLaboklab(70.93% -0.048 0.1352)
OKLCHoklch(70.93% 0.144 109.6)
XYZxyz(30.4862, 36.4646, 7.1824)
Luminance0.3646 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A825 #2525A8
analogous
#A86625 #A8A825 #66A825
triadic
#A8A825 #25A8A8 #A825A8
tetradic
#A8A825 #25A866 #2525A8 #A82566
square
#A8A825 #25A866 #2525A8 #A82566
split-complementary
#A8A825 #2566A8 #6625A8
monochromatic
#44440F #76761A #A8A825 #D3D337 #DEDE69

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8A825#FFFFFF#000000##000000
##A8A8251.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)
#B8A530
Tritanopia (blue-blind)
#B49D90
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a8a825;
/* rgb */ color: rgb(168, 168, 37);
/* oklch */ color: oklch(70.9% 0.144 109.6);
Tailwind
colors: {
  custom: {
    50: '#c6c16b',
    500: '#a8a825',
    950: '#000000',
  },
}
SCSS
$custom: #a8a825;
$custom-light: #c6c16b;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a825",
  "rgb": {
    "r": 168,
    "g": 168,
    "b": 37
  },
  "hsl": {
    "h": 60,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.7093,
    "c": 0.14352,
    "h": 109.6
  },
  "luminance": 0.36464
}

Semantic roles & 50–950 ramp

primary
#A8A825
secondary
#6565C4
accent
#41E741
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A8A825

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

Preview Lab → · Contrast checker → · Palette generator →

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