#A5A366#A5A366

#A5A366 is a light, moderate yellow. Relative luminance 0.352; OKLCH L 70.3% C 0.082 H 106.7°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#A5A366
RGBrgb(165, 163, 102)
HSLhsl(58, 26%, 52%)
HSVhsv(58, 38%, 65%)
CMYKcmyk(0%, 1.2%, 38.2%, 35.3%)
CIE-LABlab(65.87, -8.66, 31.96)
CIE-LCHlch(65.87, 33.11, 105.16°)
OKLaboklab(70.27% -0.0235 0.0782)
OKLCHoklch(70.27% 0.082 106.7)
XYZxyz(31.0129, 35.1537, 17.7194)
Luminance0.3515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A366 #6668A5
analogous
#A58366 #A5A366 #88A566
triadic
#A5A366 #66A5A3 #A366A5
tetradic
#A5A366 #66A583 #6668A5 #A56688
square
#A5A366 #66A583 #6668A5 #A56688
split-complementary
#A5A366 #6688A5 #8366A5
monochromatic
#5B5A36 #82804C #A5A366 #BCBA8D #D2D1B3

Accessibility & contrast

On white

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

On black

8.03
#A5A366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A366
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A366#FFFFFF#000000##000000
##A5A3661.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9E61
Deuteranopia (green-blind)
#AEA169
Tritanopia (blue-blind)
#AD9C94
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a5a366;
/* rgb */ color: rgb(165, 163, 102);
/* oklch */ color: oklch(70.3% 0.082 106.7);
Tailwind
colors: {
  custom: {
    50: '#c1be92',
    500: '#a5a366',
    950: '#000000',
  },
}
SCSS
$custom: #a5a366;
$custom-light: #c1be92;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a366",
  "rgb": {
    "r": 165,
    "g": 163,
    "b": 102
  },
  "hsl": {
    "h": 58.095,
    "s": 25.926,
    "l": 52.353
  },
  "oklch": {
    "l": 0.70273,
    "c": 0.08169,
    "h": 106.7
  },
  "luminance": 0.35153
}

Semantic roles & 50–950 ramp

primary
#A5A366
secondary
#A6A7C1
accent
#68C265
background
#FBFBF9
surface
#F7F6F1
border
#D0D0CB
text
#12120D
muted
#81817E

Preview Lab

Preview with #A5A366

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

Preview Lab → · Contrast checker → · Palette generator →

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