#A6A462#A6A462

#A6A462 is a light, moderate yellow. Relative luminance 0.355; OKLCH L 70.5% C 0.088 H 106.9°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#A6A462
RGBrgb(166, 164, 98)
HSLhsl(58, 28%, 52%)
HSVhsv(58, 41%, 65%)
CMYKcmyk(0%, 1.2%, 41%, 34.9%)
CIE-LABlab(66.17, -9.23, 34.46)
CIE-LCHlch(66.17, 35.68, 105.00°)
OKLaboklab(70.51% -0.0255 0.0837)
OKLCHoklch(70.51% 0.088 106.9)
XYZxyz(31.2064, 35.5405, 16.7690)
Luminance0.3554 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A462 #6264A6
analogous
#A68262 #A6A462 #86A662
triadic
#A6A462 #62A6A4 #A462A6
tetradic
#A6A462 #62A682 #6264A6 #A66286
square
#A6A462 #62A682 #6264A6 #A66286
split-complementary
#A6A462 #6286A6 #8262A6
monochromatic
#5A5933 #818049 #A6A462 #BCBB89 #D2D1B0

Accessibility & contrast

On white

2.59
#A6A462 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#A6A462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A462
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A462#FFFFFF#000000##000000
##A6A4621.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9F5D
Deuteranopia (green-blind)
#B0A265
Tritanopia (blue-blind)
#AF9C94
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a6a462;
/* rgb */ color: rgb(166, 164, 98);
/* oklch */ color: oklch(70.5% 0.088 106.9);
Tailwind
colors: {
  custom: {
    50: '#c1be90',
    500: '#a6a462',
    950: '#000000',
  },
}
SCSS
$custom: #a6a462;
$custom-light: #c1be90;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a462",
  "rgb": {
    "r": 166,
    "g": 164,
    "b": 98
  },
  "hsl": {
    "h": 58.235,
    "s": 27.642,
    "l": 51.765
  },
  "oklch": {
    "l": 0.70511,
    "c": 0.08753,
    "h": 106.9
  },
  "luminance": 0.3554
}

Semantic roles & 50–950 ramp

primary
#A6A462
secondary
#A3A4C1
accent
#67C464
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#12120C
muted
#81817D

Preview Lab

Preview with #A6A462

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

Preview Lab → · Contrast checker → · Palette generator →

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