#A6AD2A#A6AD2A

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

Color values

HEX#A6AD2A
RGBrgb(166, 173, 42)
HSLhsl(63, 61%, 42%)
HSVhsv(63, 76%, 68%)
CMYKcmyk(4%, 0%, 75.7%, 32.2%)
CIE-LABlab(68.14, -18.17, 61.59)
CIE-LCHlch(68.14, 64.21, 106.44°)
OKLaboklab(71.91% -0.0565 0.1352)
OKLCHoklch(71.91% 0.147 112.7)
XYZxyz(31.0884, 38.1620, 7.9184)
Luminance0.3816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6AD2A #312AAD
analogous
#AD732A #A6AD2A #65AD2A
triadic
#A6AD2A #2AA6AD #AD2AA6
tetradic
#A6AD2A #2AAD73 #312AAD #AD2A65
square
#A6AD2A #2AAD73 #312AAD #AD2A65
split-complementary
#A6AD2A #2A65AD #732AAD
monochromatic
#474B12 #777C1E #A6AD2A #CAD143 #D8DD74

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6AD2A#FFFFFF#000000##000000
##A6AD2A1.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)
#BAA509
Deuteranopia (green-blind)
#BBA735
Tritanopia (blue-blind)
#B2A294
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a6ad2a;
/* rgb */ color: rgb(166, 173, 42);
/* oklch */ color: oklch(71.9% 0.147 112.7);
Tailwind
colors: {
  custom: {
    50: '#c4c56e',
    500: '#a6ad2a',
    950: '#000000',
  },
}
SCSS
$custom: #a6ad2a;
$custom-light: #c4c56e;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ad2a",
  "rgb": {
    "r": 166,
    "g": 173,
    "b": 42
  },
  "hsl": {
    "h": 63.206,
    "s": 60.93,
    "l": 42.157
  },
  "oklch": {
    "l": 0.71911,
    "c": 0.14651,
    "h": 112.7
  },
  "luminance": 0.38161
}

Semantic roles & 50–950 ramp

primary
#A6AD2A
secondary
#736EC5
accent
#44E44C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A6AD2A

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

Preview Lab → · Contrast checker → · Palette generator →

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