#A5A362#A5A362

#A5A362 is a light, moderate yellow. Relative luminance 0.351; OKLCH L 70.2% C 0.086 H 106.9°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#A5A362
RGBrgb(165, 163, 98)
HSLhsl(58, 27%, 52%)
HSVhsv(58, 41%, 65%)
CMYKcmyk(0%, 1.2%, 40.6%, 35.3%)
CIE-LABlab(65.81, -9.12, 33.99)
CIE-LCHlch(65.81, 35.19, 105.01°)
OKLaboklab(70.21% -0.0251 0.0827)
OKLCHoklch(70.21% 0.086 106.9)
XYZxyz(30.8193, 35.0762, 16.6998)
Luminance0.3508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A362 #6264A5
analogous
#A58262 #A5A362 #86A562
triadic
#A5A362 #62A5A3 #A362A5
tetradic
#A5A362 #62A582 #6264A5 #A56286
square
#A5A362 #62A582 #6264A5 #A56286
split-complementary
#A5A362 #6286A5 #8262A5
monochromatic
#595833 #807F4A #A5A362 #BBBA89 #D2D1B0

Accessibility & contrast

On white

2.62
#A5A362 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#A5A362 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A362
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A362#FFFFFF#000000##000000
##A5A3621.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9E5D
Deuteranopia (green-blind)
#AEA165
Tritanopia (blue-blind)
#AE9B93
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a5a362;
/* rgb */ color: rgb(165, 163, 98);
/* oklch */ color: oklch(70.2% 0.086 106.9);
Tailwind
colors: {
  custom: {
    50: '#c1be8f',
    500: '#a5a362',
    950: '#000000',
  },
}
SCSS
$custom: #a5a362;
$custom-light: #c1be8f;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a362",
  "rgb": {
    "r": 165,
    "g": 163,
    "b": 98
  },
  "hsl": {
    "h": 58.209,
    "s": 27.126,
    "l": 51.569
  },
  "oklch": {
    "l": 0.70205,
    "c": 0.0864,
    "h": 106.9
  },
  "luminance": 0.35076
}

Semantic roles & 50–950 ramp

primary
#A5A362
secondary
#A3A4C0
accent
#67C364
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#12120C
muted
#81817D

Preview Lab

Preview with #A5A362

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

Preview Lab → · Contrast checker → · Palette generator →

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