#A5A266#A5A266

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

Color values

HEX#A5A266
RGBrgb(165, 162, 102)
HSLhsl(57, 26%, 52%)
HSVhsv(57, 38%, 65%)
CMYKcmyk(0%, 1.8%, 38.2%, 35.3%)
CIE-LABlab(65.59, -8.13, 31.61)
CIE-LCHlch(65.59, 32.63, 104.42°)
OKLaboklab(70.05% -0.022 0.0774)
OKLCHoklch(70.05% 0.08 105.8)
XYZxyz(30.8361, 34.8000, 17.6605)
Luminance0.3480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A266 #6669A5
analogous
#A58366 #A5A266 #89A566
triadic
#A5A266 #66A5A2 #A266A5
tetradic
#A5A266 #66A583 #6669A5 #A56689
square
#A5A266 #66A583 #6669A5 #A56689
split-complementary
#A5A266 #6689A5 #8366A5
monochromatic
#5B5936 #827F4C #A5A266 #BCB98D #D2D1B3

Accessibility & contrast

On white

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

On black

7.96
#A5A266 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A266
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A266#FFFFFF#000000##000000
##A5A2661.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9E62
Deuteranopia (green-blind)
#ADA168
Tritanopia (blue-blind)
#AE9B93
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a5a266;
/* rgb */ color: rgb(165, 162, 102);
/* oklch */ color: oklch(70.1% 0.080 105.8);
Tailwind
colors: {
  custom: {
    50: '#c1bd92',
    500: '#a5a266',
    950: '#000000',
  },
}
SCSS
$custom: #a5a266;
$custom-light: #c1bd92;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a266",
  "rgb": {
    "r": 165,
    "g": 162,
    "b": 102
  },
  "hsl": {
    "h": 57.143,
    "s": 25.926,
    "l": 52.353
  },
  "oklch": {
    "l": 0.70054,
    "c": 0.08048,
    "h": 105.8
  },
  "luminance": 0.34799
}

Semantic roles & 50–950 ramp

primary
#A5A266
secondary
#A6A7C1
accent
#6AC265
background
#FBFBF9
surface
#F7F6F1
border
#D0D0CB
text
#12120D
muted
#81817E

Preview Lab

Preview with #A5A266

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

Preview Lab → · Contrast checker → · Palette generator →

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