#A5A762#A5A762

#A5A762 is a light, moderate yellow. Relative luminance 0.365; OKLCH L 71.1% C 0.091 H 110.0°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#A5A762
RGBrgb(165, 167, 98)
HSLhsl(62, 28%, 52%)
HSVhsv(62, 41%, 65%)
CMYKcmyk(1.2%, 0%, 41.3%, 34.5%)
CIE-LABlab(66.91, -11.23, 35.39)
CIE-LCHlch(66.91, 37.13, 107.60°)
OKLaboklab(71.08% -0.0312 0.0858)
OKLCHoklch(71.08% 0.091 110)
XYZxyz(31.5408, 36.5192, 16.9403)
Luminance0.3652 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A762 #6462A7
analogous
#A78762 #A5A762 #83A762
triadic
#A5A762 #62A5A7 #A762A5
tetradic
#A5A762 #62A787 #6462A7 #A76283
square
#A5A762 #62A787 #6462A7 #A76283
split-complementary
#A5A762 #6283A7 #8762A7
monochromatic
#5A5B33 #818349 #A5A762 #BBBD89 #D2D3B0

Accessibility & contrast

On white

2.53
#A5A762 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#A5A762 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A762
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A762#FFFFFF#000000##000000
##A5A7621.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A25D
Deuteranopia (green-blind)
#B2A465
Tritanopia (blue-blind)
#AE9F96
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a5a762;
/* rgb */ color: rgb(165, 167, 98);
/* oklch */ color: oklch(71.1% 0.091 110.0);
Tailwind
colors: {
  custom: {
    50: '#c1c190',
    500: '#a5a762',
    950: '#000000',
  },
}
SCSS
$custom: #a5a762;
$custom-light: #c1c190;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a762",
  "rgb": {
    "r": 165,
    "g": 167,
    "b": 98
  },
  "hsl": {
    "h": 61.739,
    "s": 28.163,
    "l": 51.961
  },
  "oklch": {
    "l": 0.71085,
    "c": 0.09131,
    "h": 110
  },
  "luminance": 0.36519
}

Semantic roles & 50–950 ramp

primary
#A5A762
secondary
#A4A3C2
accent
#63C466
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#12120C
muted
#81817D

Preview Lab

Preview with #A5A762

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

Preview Lab → · Contrast checker → · Palette generator →

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