#A6A262#A6A262

#A6A262 is a light, moderate yellow. Relative luminance 0.348; OKLCH L 70.1% C 0.085 H 105.3°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#A6A262
RGBrgb(166, 162, 98)
HSLhsl(56, 28%, 52%)
HSVhsv(56, 41%, 65%)
CMYKcmyk(0%, 2.4%, 41%, 34.9%)
CIE-LABlab(65.62, -8.17, 33.77)
CIE-LCHlch(65.62, 34.74, 103.60°)
OKLaboklab(70.07% -0.0224 0.0822)
OKLCHoklch(70.07% 0.085 105.3)
XYZxyz(30.8513, 34.8302, 16.6506)
Luminance0.3483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A262 #6266A6
analogous
#A68062 #A6A262 #88A662
triadic
#A6A262 #62A6A2 #A262A6
tetradic
#A6A262 #62A680 #6266A6 #A66288
square
#A6A262 #62A680 #6266A6 #A66288
split-complementary
#A6A262 #6288A6 #8062A6
monochromatic
#5A5833 #817E49 #A6A262 #BCB989 #D2D0B0

Accessibility & contrast

On white

2.64
#A6A262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#A6A262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A262
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A262#FFFFFF#000000##000000
##A6A2621.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9E5D
Deuteranopia (green-blind)
#AEA165
Tritanopia (blue-blind)
#AF9A92
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a6a262;
/* rgb */ color: rgb(166, 162, 98);
/* oklch */ color: oklch(70.1% 0.085 105.3);
Tailwind
colors: {
  custom: {
    50: '#c1bd8f',
    500: '#a6a262',
    950: '#000000',
  },
}
SCSS
$custom: #a6a262;
$custom-light: #c1bd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a262",
  "rgb": {
    "r": 166,
    "g": 162,
    "b": 98
  },
  "hsl": {
    "h": 56.471,
    "s": 27.642,
    "l": 51.765
  },
  "oklch": {
    "l": 0.70074,
    "c": 0.08516,
    "h": 105.3
  },
  "luminance": 0.34829
}

Semantic roles & 50–950 ramp

primary
#A6A262
secondary
#A3A5C1
accent
#69C464
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#12120C
muted
#81817D

Preview Lab

Preview with #A6A262

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

Preview Lab → · Contrast checker → · Palette generator →

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