#A6A751#A6A751

#A6A751 is a light, moderate yellow. Relative luminance 0.363; OKLCH L 70.9% C 0.109 H 109.5°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#A6A751
RGBrgb(166, 167, 81)
HSLhsl(61, 35%, 49%)
HSVhsv(61, 51%, 65%)
CMYKcmyk(0.6%, 0%, 51.5%, 34.5%)
CIE-LABlab(66.78, -12.52, 43.83)
CIE-LCHlch(66.78, 45.58, 105.94°)
OKLaboklab(70.93% -0.0365 0.1032)
OKLCHoklch(70.93% 0.109 109.5)
XYZxyz(31.0305, 36.3392, 13.1625)
Luminance0.3634 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A751 #5251A7
analogous
#A77D51 #A6A751 #7BA751
triadic
#A6A751 #51A6A7 #A751A6
tetradic
#A6A751 #51A77D #5251A7 #A7517B
square
#A6A751 #51A77D #5251A7 #A7517B
split-complementary
#A6A751 #517BA7 #7D51A7
monochromatic
#545529 #7D7E3D #A6A751 #BDBD78 #D1D1A1

Accessibility & contrast

On white

2.54
#A6A751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#A6A751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A751
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A751#FFFFFF#000000##000000
##A6A7511.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A149
Deuteranopia (green-blind)
#B4A455
Tritanopia (blue-blind)
#B09E94
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a6a751;
/* rgb */ color: rgb(166, 167, 81);
/* oklch */ color: oklch(70.9% 0.109 109.5);
Tailwind
colors: {
  custom: {
    50: '#c2c184',
    500: '#a6a751',
    950: '#000000',
  },
}
SCSS
$custom: #a6a751;
$custom-light: #c2c184;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a751",
  "rgb": {
    "r": 166,
    "g": 167,
    "b": 81
  },
  "hsl": {
    "h": 60.698,
    "s": 34.677,
    "l": 48.627
  },
  "oklch": {
    "l": 0.70926,
    "c": 0.10946,
    "h": 109.5
  },
  "luminance": 0.36339
}

Semantic roles & 50–950 ramp

primary
#A6A751
secondary
#9695BF
accent
#5DCB5E
background
#FCFBF8
surface
#F8F7EF
border
#D1D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #A6A751

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

Preview Lab → · Contrast checker → · Palette generator →

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