#A6A325#A6A325

#A6A325 is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.6% C 0.139 H 108.1°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#A6A325
RGBrgb(166, 163, 37)
HSLhsl(59, 64%, 40%)
HSVhsv(59, 78%, 65%)
CMYKcmyk(0%, 1.8%, 77.7%, 34.9%)
CIE-LABlab(65.31, -13.24, 60.60)
CIE-LCHlch(65.31, 62.03, 102.33°)
OKLaboklab(69.64% -0.0432 0.1322)
OKLCHoklch(69.64% 0.139 108.1)
XYZxyz(29.1582, 34.4359, 6.8608)
Luminance0.3443 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A325 #2528A6
analogous
#A66325 #A6A325 #68A625
triadic
#A6A325 #25A6A3 #A325A6
tetradic
#A6A325 #25A663 #2528A6 #A62568
square
#A6A325 #25A663 #2528A6 #A62568
split-complementary
#A6A325 #2568A6 #6325A6
monochromatic
#42410F #74721A #A6A325 #D2CF36 #DDDB68

Accessibility & contrast

On white

2.66
#A6A325 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#A6A325 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A325
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A325#FFFFFF#000000##000000
##A6A3251.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a6a325;
/* rgb */ color: rgb(166, 163, 37);
/* oklch */ color: oklch(69.6% 0.139 108.1);
Tailwind
colors: {
  custom: {
    50: '#c4be6b',
    500: '#a6a325',
    950: '#000000',
  },
}
SCSS
$custom: #a6a325;
$custom-light: #c4be6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a325",
  "rgb": {
    "r": 166,
    "g": 163,
    "b": 37
  },
  "hsl": {
    "h": 58.605,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.69638,
    "c": 0.13904,
    "h": 108.1
  },
  "luminance": 0.34435
}

Semantic roles & 50–950 ramp

primary
#A6A325
secondary
#6466C3
accent
#45E741
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A6A325

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

Preview Lab → · Contrast checker → · Palette generator →

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