#A6A925#A6A925

#A6A925 is a light, vivid yellow. Relative luminance 0.366; OKLCH L 71.0% C 0.145 H 110.9°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#A6A925
RGBrgb(166, 169, 37)
HSLhsl(61, 64%, 40%)
HSVhsv(61, 78%, 66%)
CMYKcmyk(1.8%, 0%, 78.1%, 33.7%)
CIE-LABlab(66.99, -16.34, 62.12)
CIE-LCHlch(66.99, 64.23, 104.74°)
OKLaboklab(70.98% -0.0518 0.1354)
OKLCHoklch(70.98% 0.145 110.9)
XYZxyz(30.2489, 36.6173, 7.2243)
Luminance0.3662 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A925 #2825A9
analogous
#A96A25 #A6A925 #64A925
triadic
#A6A925 #25A6A9 #A925A6
tetradic
#A6A925 #25A96A #2825A9 #A92564
square
#A6A925 #25A96A #2825A9 #A92564
split-complementary
#A6A925 #2564A9 #6A25A9
monochromatic
#43450F #75771A #A6A925 #D0D338 #DCDE6A

Accessibility & contrast

On white

2.52
#A6A925 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#A6A925 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A925
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A925#FFFFFF#000000##000000
##A6A9251.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#B8A531
Tritanopia (blue-blind)
#B29E91
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a6a925;
/* rgb */ color: rgb(166, 169, 37);
/* oklch */ color: oklch(71.0% 0.145 110.9);
Tailwind
colors: {
  custom: {
    50: '#c4c26c',
    500: '#a6a925',
    950: '#000000',
  },
}
SCSS
$custom: #a6a925;
$custom-light: #c4c26c;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a925",
  "rgb": {
    "r": 166,
    "g": 169,
    "b": 37
  },
  "hsl": {
    "h": 61.364,
    "s": 64.078,
    "l": 40.392
  },
  "oklch": {
    "l": 0.70982,
    "c": 0.14498,
    "h": 110.9
  },
  "luminance": 0.36616
}

Semantic roles & 50–950 ramp

primary
#A6A925
secondary
#6765C4
accent
#41E744
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A6A925

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

Preview Lab → · Contrast checker → · Palette generator →

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