#A5A261#A5A261

#A5A261 is a light, moderate yellow. Relative luminance 0.347; OKLCH L 70.0% C 0.086 H 106.1°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#A5A261
RGBrgb(165, 162, 97)
HSLhsl(57, 27%, 51%)
HSVhsv(57, 41%, 65%)
CMYKcmyk(0%, 1.8%, 41.2%, 35.3%)
CIE-LABlab(65.52, -8.70, 34.15)
CIE-LCHlch(65.52, 35.24, 104.29°)
OKLaboklab(69.97% -0.024 0.083)
OKLCHoklch(69.97% 0.086 106.1)
XYZxyz(30.5956, 34.7038, 16.3937)
Luminance0.3470 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A261 #6164A5
analogous
#A58061 #A5A261 #86A561
triadic
#A5A261 #61A5A2 #A261A5
tetradic
#A5A261 #61A580 #6164A5 #A56186
square
#A5A261 #61A580 #6164A5 #A56186
split-complementary
#A5A261 #6186A5 #8061A5
monochromatic
#595733 #807E49 #A5A261 #BBB988 #D1D0AF

Accessibility & contrast

On white

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

On black

7.94
#A5A261 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A261
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A261#FFFFFF#000000##000000
##A5A2611.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9D5C
Deuteranopia (green-blind)
#AEA164
Tritanopia (blue-blind)
#AE9A92
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a5a261;
/* rgb */ color: rgb(165, 162, 97);
/* oklch */ color: oklch(70.0% 0.086 106.1);
Tailwind
colors: {
  custom: {
    50: '#c1bd8f',
    500: '#a5a261',
    950: '#000000',
  },
}
SCSS
$custom: #a5a261;
$custom-light: #c1bd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a261",
  "rgb": {
    "r": 165,
    "g": 162,
    "b": 97
  },
  "hsl": {
    "h": 57.353,
    "s": 27.419,
    "l": 51.373
  },
  "oklch": {
    "l": 0.6997,
    "c": 0.08637,
    "h": 106.1
  },
  "luminance": 0.34703
}

Semantic roles & 50–950 ramp

primary
#A5A261
secondary
#A2A3C0
accent
#68C464
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#12120C
muted
#81817D

Preview Lab

Preview with #A5A261

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

Preview Lab → · Contrast checker → · Palette generator →

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