#A6A625#A6A625

#A6A625 is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.3% C 0.142 H 109.6°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#A6A625
RGBrgb(166, 166, 37)
HSLhsl(60, 64%, 40%)
HSVhsv(60, 78%, 65%)
CMYKcmyk(0%, 0%, 77.7%, 34.9%)
CIE-LABlab(66.15, -14.80, 61.36)
CIE-LCHlch(66.15, 63.12, 103.56°)
OKLaboklab(70.31% -0.0475 0.1338)
OKLCHoklch(70.31% 0.142 109.6)
XYZxyz(29.6972, 35.5139, 7.0404)
Luminance0.3551 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A625 #2525A6
analogous
#A66625 #A6A625 #66A625
triadic
#A6A625 #25A6A6 #A625A6
tetradic
#A6A625 #25A666 #2525A6 #A62566
square
#A6A625 #25A666 #2525A6 #A62566
split-complementary
#A6A625 #2566A6 #6625A6
monochromatic
#42420F #74741A #A6A625 #D2D236 #DDDD68

Accessibility & contrast

On white

2.59
#A6A625 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#A6A625 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A625
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A625#FFFFFF#000000##000000
##A6A6251.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F00
Deuteranopia (green-blind)
#B5A330
Tritanopia (blue-blind)
#B29B8E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a6a625;
/* rgb */ color: rgb(166, 166, 37);
/* oklch */ color: oklch(70.3% 0.142 109.6);
Tailwind
colors: {
  custom: {
    50: '#c4c06b',
    500: '#a6a625',
    950: '#000000',
  },
}
SCSS
$custom: #a6a625;
$custom-light: #c4c06b;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a625",
  "rgb": {
    "r": 166,
    "g": 166,
    "b": 37
  },
  "hsl": {
    "h": 60,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.70309,
    "c": 0.14198,
    "h": 109.6
  },
  "luminance": 0.35513
}

Semantic roles & 50–950 ramp

primary
#A6A625
secondary
#6464C3
accent
#41E741
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A6A625

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

Preview Lab → · Contrast checker → · Palette generator →

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