#A8A625#A8A625

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

Color values

HEX#A8A625
RGBrgb(168, 166, 37)
HSLhsl(59, 64%, 40%)
HSVhsv(59, 78%, 66%)
CMYKcmyk(0%, 1.2%, 78%, 34.1%)
CIE-LABlab(66.31, -13.92, 61.57)
CIE-LCHlch(66.31, 63.13, 102.74°)
OKLaboklab(70.48% -0.0452 0.1342)
OKLCHoklch(70.48% 0.142 108.6)
XYZxyz(30.1198, 35.7318, 7.0602)
Luminance0.3573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A625 #2527A8
analogous
#A86425 #A8A625 #68A825
triadic
#A8A625 #25A8A6 #A625A8
tetradic
#A8A625 #25A864 #2527A8 #A82568
square
#A8A625 #25A864 #2527A8 #A82568
split-complementary
#A8A625 #2568A8 #6425A8
monochromatic
#44430F #76741A #A8A625 #D3D137 #DEDC69

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8A625#FFFFFF#000000##000000
##A8A6251.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)
#B49F00
Deuteranopia (green-blind)
#B6A330
Tritanopia (blue-blind)
#B49B8E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a8a625;
/* rgb */ color: rgb(168, 166, 37);
/* oklch */ color: oklch(70.5% 0.142 108.6);
Tailwind
colors: {
  custom: {
    50: '#c6c06b',
    500: '#a8a625',
    950: '#000000',
  },
}
SCSS
$custom: #a8a625;
$custom-light: #c6c06b;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a625",
  "rgb": {
    "r": 168,
    "g": 166,
    "b": 37
  },
  "hsl": {
    "h": 59.084,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.70484,
    "c": 0.14156,
    "h": 108.6
  },
  "luminance": 0.35731
}

Semantic roles & 50–950 ramp

primary
#A8A625
secondary
#6566C4
accent
#43E741
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A8A625

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

Preview Lab → · Contrast checker → · Palette generator →

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