#A6A525#A6A525

#A6A525 is a light, vivid yellow. Relative luminance 0.352; OKLCH L 70.1% C 0.141 H 109.1°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#A6A525
RGBrgb(166, 165, 37)
HSLhsl(60, 64%, 40%)
HSVhsv(60, 78%, 65%)
CMYKcmyk(0%, 0.6%, 77.7%, 34.9%)
CIE-LABlab(65.87, -14.28, 61.11)
CIE-LCHlch(65.87, 62.75, 103.16°)
OKLaboklab(70.08% -0.0461 0.1333)
OKLCHoklch(70.08% 0.141 109.1)
XYZxyz(29.5161, 35.1518, 6.9801)
Luminance0.3515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A525 #2526A6
analogous
#A66525 #A6A525 #66A625
triadic
#A6A525 #25A6A5 #A525A6
tetradic
#A6A525 #25A665 #2526A6 #A62566
square
#A6A525 #25A665 #2526A6 #A62566
split-complementary
#A6A525 #2566A6 #6525A6
monochromatic
#42420F #74731A #A6A525 #D2D136 #DDDC68

Accessibility & contrast

On white

2.62
#A6A525 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#A6A525 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A525
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A525#FFFFFF#000000##000000
##A6A5251.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#B5A230
Tritanopia (blue-blind)
#B29A8D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a6a525;
/* rgb */ color: rgb(166, 165, 37);
/* oklch */ color: oklch(70.1% 0.141 109.1);
Tailwind
colors: {
  custom: {
    50: '#c4bf6b',
    500: '#a6a525',
    950: '#000000',
  },
}
SCSS
$custom: #a6a525;
$custom-light: #c4bf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a525",
  "rgb": {
    "r": 166,
    "g": 165,
    "b": 37
  },
  "hsl": {
    "h": 59.535,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.70085,
    "c": 0.14099,
    "h": 109.1
  },
  "luminance": 0.35151
}

Semantic roles & 50–950 ramp

primary
#A6A525
secondary
#6464C3
accent
#43E741
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A6A525

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

Preview Lab → · Contrast checker → · Palette generator →

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