#A8A325#A8A325

#A8A325 is a light, vivid yellow. Relative luminance 0.347; OKLCH L 69.8% C 0.139 H 107.1°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#A8A325
RGBrgb(168, 163, 37)
HSLhsl(58, 64%, 40%)
HSVhsv(58, 78%, 66%)
CMYKcmyk(0%, 3%, 78%, 34.1%)
CIE-LABlab(65.48, -12.36, 60.82)
CIE-LCHlch(65.48, 62.06, 101.49°)
OKLaboklab(69.82% -0.0408 0.1326)
OKLCHoklch(69.82% 0.139 107.1)
XYZxyz(29.5808, 34.6538, 6.8806)
Luminance0.3465 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A325 #252AA8
analogous
#A86225 #A8A325 #6BA825
triadic
#A8A325 #25A8A3 #A325A8
tetradic
#A8A325 #25A862 #252AA8 #A8256B
square
#A8A325 #25A862 #252AA8 #A8256B
split-complementary
#A8A325 #256BA8 #6225A8
monochromatic
#44420F #76721A #A8A325 #D3CD37 #DEDA69

Accessibility & contrast

On white

2.65
#A8A325 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#A8A325 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A325
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A325#FFFFFF#000000##000000
##A8A3251.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C01
Deuteranopia (green-blind)
#B4A130
Tritanopia (blue-blind)
#B5988C
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a8a325;
/* rgb */ color: rgb(168, 163, 37);
/* oklch */ color: oklch(69.8% 0.139 107.1);
Tailwind
colors: {
  custom: {
    50: '#c6bd6b',
    500: '#a8a325',
    950: '#000000',
  },
}
SCSS
$custom: #a8a325;
$custom-light: #c6bd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a325",
  "rgb": {
    "r": 168,
    "g": 163,
    "b": 37
  },
  "hsl": {
    "h": 57.71,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.69816,
    "c": 0.1387,
    "h": 107.1
  },
  "luminance": 0.34653
}

Semantic roles & 50–950 ramp

primary
#A8A325
secondary
#6568C4
accent
#47E741
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A8A325

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

Preview Lab → · Contrast checker → · Palette generator →

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