#A6A846#A6A846

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

Color values

HEX#A6A846
RGBrgb(166, 168, 70)
HSLhsl(61, 41%, 47%)
HSVhsv(61, 58%, 66%)
CMYKcmyk(1.2%, 0%, 58.3%, 34.1%)
CIE-LABlab(66.94, -13.95, 49.23)
CIE-LCHlch(66.94, 51.16, 105.82°)
OKLaboklab(71.02% -0.0418 0.1135)
OKLCHoklch(71.02% 0.121 110.2)
XYZxyz(30.8348, 36.5552, 11.2247)
Luminance0.3655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A846 #4846A8
analogous
#A87946 #A6A846 #75A846
triadic
#A6A846 #46A6A8 #A846A6
tetradic
#A6A846 #46A879 #4846A8 #A84675
square
#A6A846 #46A879 #4846A8 #A84675
split-complementary
#A6A846 #4675A8 #7946A8
monochromatic
#515222 #7B7D34 #A6A846 #BFC16A #D2D395

Accessibility & contrast

On white

2.53
#A6A846 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#A6A846 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A846
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A846#FFFFFF#000000##000000
##A6A8461.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A13B
Deuteranopia (green-blind)
#B5A44C
Tritanopia (blue-blind)
#B19E93
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a6a846;
/* rgb */ color: rgb(166, 168, 70);
/* oklch */ color: oklch(71.0% 0.121 110.2);
Tailwind
colors: {
  custom: {
    50: '#c3c17d',
    500: '#a6a846',
    950: '#000000',
  },
}
SCSS
$custom: #a6a846;
$custom-light: #c3c17d;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a846",
  "rgb": {
    "r": 166,
    "g": 168,
    "b": 70
  },
  "hsl": {
    "h": 61.224,
    "s": 41.176,
    "l": 46.667
  },
  "oklch": {
    "l": 0.71019,
    "c": 0.12099,
    "h": 110.2
  },
  "luminance": 0.36554
}

Semantic roles & 50–950 ramp

primary
#A6A846
secondary
#8C8BBF
accent
#57D159
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #A6A846

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

Preview Lab → · Contrast checker → · Palette generator →

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