#A6AD25#A6AD25

#A6AD25 is a light, vivid yellow. Relative luminance 0.381; OKLCH L 71.9% C 0.149 H 112.7°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#A6AD25
RGBrgb(166, 173, 37)
HSLhsl(63, 65%, 41%)
HSVhsv(63, 79%, 68%)
CMYKcmyk(4%, 0%, 78.6%, 32.2%)
CIE-LABlab(68.12, -18.38, 63.13)
CIE-LCHlch(68.12, 65.75, 106.23°)
OKLaboklab(71.88% -0.0575 0.1376)
OKLCHoklch(71.88% 0.149 112.7)
XYZxyz(31.0044, 38.1284, 7.4762)
Luminance0.3813 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6AD25 #2C25AD
analogous
#AD7025 #A6AD25 #62AD25
triadic
#A6AD25 #25A6AD #AD25A6
tetradic
#A6AD25 #25AD70 #2C25AD #AD2562
square
#A6AD25 #25AD70 #2C25AD #AD2562
split-complementary
#A6AD25 #2562AD #7025AD
monochromatic
#45480F #767B1A #A6AD25 #CDD53A #DAE06D

Accessibility & contrast

On white

2.43
#A6AD25 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#A6AD25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6AD25
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6AD25#FFFFFF#000000##000000
##A6AD251.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA500
Deuteranopia (green-blind)
#BBA732
Tritanopia (blue-blind)
#B2A294
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a6ad25;
/* rgb */ color: rgb(166, 173, 37);
/* oklch */ color: oklch(71.9% 0.149 112.7);
Tailwind
colors: {
  custom: {
    50: '#c4c56c',
    500: '#a6ad25',
    950: '#000000',
  },
}
SCSS
$custom: #a6ad25;
$custom-light: #c4c56c;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ad25",
  "rgb": {
    "r": 166,
    "g": 173,
    "b": 37
  },
  "hsl": {
    "h": 63.088,
    "s": 64.762,
    "l": 41.176
  },
  "oklch": {
    "l": 0.71884,
    "c": 0.14909,
    "h": 112.7
  },
  "luminance": 0.38128
}

Semantic roles & 50–950 ramp

primary
#A6AD25
secondary
#6D68C6
accent
#40E849
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A6AD25

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

Preview Lab → · Contrast checker → · Palette generator →

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