#A6A451#A6A451

#A6A451 is a light, moderate yellow. Relative luminance 0.353; OKLCH L 70.3% C 0.106 H 107.6°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#A6A451
RGBrgb(166, 164, 81)
HSLhsl(59, 34%, 48%)
HSVhsv(59, 51%, 65%)
CMYKcmyk(0%, 1.2%, 51.2%, 34.9%)
CIE-LABlab(65.94, -10.95, 42.85)
CIE-LCHlch(65.94, 44.22, 104.33°)
OKLaboklab(70.26% -0.032 0.1011)
OKLCHoklch(70.26% 0.106 107.6)
XYZxyz(30.4873, 35.2528, 12.9815)
Luminance0.3525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A451 #5153A6
analogous
#A67951 #A6A451 #7DA651
triadic
#A6A451 #51A6A4 #A451A6
tetradic
#A6A451 #51A679 #5153A6 #A6517D
square
#A6A451 #51A679 #5153A6 #A6517D
split-complementary
#A6A451 #517DA6 #7951A6
monochromatic
#545329 #7D7B3D #A6A451 #BDBB77 #D1D0A1

Accessibility & contrast

On white

2.61
#A6A451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#A6A451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A451
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A451#FFFFFF#000000##000000
##A6A4511.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09E49
Deuteranopia (green-blind)
#B1A255
Tritanopia (blue-blind)
#B09B91
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a6a451;
/* rgb */ color: rgb(166, 164, 81);
/* oklch */ color: oklch(70.3% 0.106 107.6);
Tailwind
colors: {
  custom: {
    50: '#c2be84',
    500: '#a6a451',
    950: '#000000',
  },
}
SCSS
$custom: #a6a451;
$custom-light: #c2be84;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a451",
  "rgb": {
    "r": 166,
    "g": 164,
    "b": 81
  },
  "hsl": {
    "h": 58.588,
    "s": 34.413,
    "l": 48.431
  },
  "oklch": {
    "l": 0.70262,
    "c": 0.10601,
    "h": 107.6
  },
  "luminance": 0.35252
}

Semantic roles & 50–950 ramp

primary
#A6A451
secondary
#9596BE
accent
#60CA5D
background
#FCFBF8
surface
#F8F6EF
border
#D1D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #A6A451

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

Preview Lab → · Contrast checker → · Palette generator →

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