#A6AC25#A6AC25

#A6AC25 is a light, vivid yellow. Relative luminance 0.377; OKLCH L 71.7% C 0.148 H 112.2°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#A6AC25
RGBrgb(166, 172, 37)
HSLhsl(63, 65%, 41%)
HSVhsv(63, 78%, 67%)
CMYKcmyk(3.5%, 0%, 78.5%, 32.5%)
CIE-LABlab(67.83, -17.87, 62.88)
CIE-LCHlch(67.83, 65.37, 105.86°)
OKLaboklab(71.66% -0.056 0.137)
OKLCHoklch(71.66% 0.148 112.2)
XYZxyz(30.8134, 37.7464, 7.4125)
Luminance0.3775 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6AC25 #2B25AC
analogous
#AC6E25 #A6AC25 #62AC25
triadic
#A6AC25 #25A6AC #AC25A6
tetradic
#A6AC25 #25AC6E #2B25AC #AC2562
square
#A6AC25 #25AC6E #2B25AC #AC2562
split-complementary
#A6AC25 #2562AC #6E25AC
monochromatic
#45470F #757A1A #A6AC25 #CED53A #DADF6C

Accessibility & contrast

On white

2.46
#A6AC25 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#A6AC25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6AC25
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6AC25#FFFFFF#000000##000000
##A6AC251.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#BAA731
Tritanopia (blue-blind)
#B2A193
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a6ac25;
/* rgb */ color: rgb(166, 172, 37);
/* oklch */ color: oklch(71.7% 0.148 112.2);
Tailwind
colors: {
  custom: {
    50: '#c4c46c',
    500: '#a6ac25',
    950: '#000000',
  },
}
SCSS
$custom: #a6ac25;
$custom-light: #c4c46c;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ac25",
  "rgb": {
    "r": 166,
    "g": 172,
    "b": 37
  },
  "hsl": {
    "h": 62.667,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.71658,
    "c": 0.14805,
    "h": 112.2
  },
  "luminance": 0.37746
}

Semantic roles & 50–950 ramp

primary
#A6AC25
secondary
#6B67C6
accent
#40E848
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A6AC25

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

Preview Lab → · Contrast checker → · Palette generator →

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