#A6A825#A6A825

#A6A825 is a light, vivid yellow. Relative luminance 0.362; OKLCH L 70.8% C 0.144 H 110.5°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#A6A825
RGBrgb(166, 168, 37)
HSLhsl(61, 64%, 40%)
HSVhsv(61, 78%, 66%)
CMYKcmyk(1.2%, 0%, 78%, 34.1%)
CIE-LABlab(66.71, -15.83, 61.86)
CIE-LCHlch(66.71, 63.86, 104.35°)
OKLaboklab(70.76% -0.0504 0.1349)
OKLCHoklch(70.76% 0.144 110.5)
XYZxyz(30.0635, 36.2467, 7.1626)
Luminance0.3625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A825 #2725A8
analogous
#A86825 #A6A825 #64A825
triadic
#A6A825 #25A6A8 #A825A6
tetradic
#A6A825 #25A868 #2725A8 #A82564
square
#A6A825 #25A868 #2725A8 #A82564
split-complementary
#A6A825 #2564A8 #6825A8
monochromatic
#43440F #74761A #A6A825 #D1D337 #DCDE69

Accessibility & contrast

On white

2.55
#A6A825 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#A6A825 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A825
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A825#FFFFFF#000000##000000
##A6A8251.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A000
Deuteranopia (green-blind)
#B7A431
Tritanopia (blue-blind)
#B29D90
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a6a825;
/* rgb */ color: rgb(166, 168, 37);
/* oklch */ color: oklch(70.8% 0.144 110.5);
Tailwind
colors: {
  custom: {
    50: '#c4c16b',
    500: '#a6a825',
    950: '#000000',
  },
}
SCSS
$custom: #a6a825;
$custom-light: #c4c16b;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a825",
  "rgb": {
    "r": 166,
    "g": 168,
    "b": 37
  },
  "hsl": {
    "h": 60.916,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.70758,
    "c": 0.14398,
    "h": 110.5
  },
  "luminance": 0.36246
}

Semantic roles & 50–950 ramp

primary
#A6A825
secondary
#6665C4
accent
#41E743
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A6A825

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

Preview Lab → · Contrast checker → · Palette generator →

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