#A5A263#A5A263

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

Color values

HEX#A5A263
RGBrgb(165, 162, 99)
HSLhsl(57, 27%, 52%)
HSVhsv(57, 40%, 65%)
CMYKcmyk(0%, 1.8%, 40%, 35.3%)
CIE-LABlab(65.55, -8.47, 33.13)
CIE-LCHlch(65.55, 34.20, 104.34°)
OKLaboklab(70% -0.0232 0.0808)
OKLCHoklch(70% 0.084 106)
XYZxyz(30.6900, 34.7416, 16.8911)
Luminance0.3474 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A263 #6366A5
analogous
#A58163 #A5A263 #87A563
triadic
#A5A263 #63A5A2 #A263A5
tetradic
#A5A263 #63A581 #6366A5 #A56387
square
#A5A263 #63A581 #6366A5 #A56387
split-complementary
#A5A263 #6387A5 #8163A5
monochromatic
#5A5834 #817E4A #A5A263 #BBB98A #D2D0B1

Accessibility & contrast

On white

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

On black

7.95
#A5A263 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A263
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A263#FFFFFF#000000##000000
##A5A2631.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5a263;
/* rgb */ color: rgb(165, 162, 99);
/* oklch */ color: oklch(70.0% 0.084 106.0);
Tailwind
colors: {
  custom: {
    50: '#c1bd90',
    500: '#a5a263',
    950: '#000000',
  },
}
SCSS
$custom: #a5a263;
$custom-light: #c1bd90;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a263",
  "rgb": {
    "r": 165,
    "g": 162,
    "b": 99
  },
  "hsl": {
    "h": 57.273,
    "s": 26.829,
    "l": 51.765
  },
  "oklch": {
    "l": 0.70003,
    "c": 0.08403,
    "h": 106
  },
  "luminance": 0.34741
}

Semantic roles & 50–950 ramp

primary
#A5A263
secondary
#A3A5C0
accent
#69C365
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#12120C
muted
#81817D

Preview Lab

Preview with #A5A263

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

Preview Lab → · Contrast checker → · Palette generator →

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