#A5A262#A5A262

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

Color values

HEX#A5A262
RGBrgb(165, 162, 98)
HSLhsl(57, 27%, 52%)
HSVhsv(57, 41%, 65%)
CMYKcmyk(0%, 1.8%, 40.6%, 35.3%)
CIE-LABlab(65.53, -8.59, 33.64)
CIE-LCHlch(65.53, 34.72, 104.32°)
OKLaboklab(69.99% -0.0236 0.0819)
OKLCHoklch(69.99% 0.085 106.1)
XYZxyz(30.6425, 34.7225, 16.6408)
Luminance0.3472 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A262 #6265A5
analogous
#A58162 #A5A262 #87A562
triadic
#A5A262 #62A5A2 #A262A5
tetradic
#A5A262 #62A581 #6265A5 #A56287
square
#A5A262 #62A581 #6265A5 #A56287
split-complementary
#A5A262 #6287A5 #8162A5
monochromatic
#595833 #807E4A #A5A262 #BBB989 #D2D0B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5A262#FFFFFF#000000##000000
##A5A2621.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)
#AC9D5D
Deuteranopia (green-blind)
#AEA165
Tritanopia (blue-blind)
#AE9A92
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a5a262;
/* rgb */ color: rgb(165, 162, 98);
/* oklch */ color: oklch(70.0% 0.085 106.1);
Tailwind
colors: {
  custom: {
    50: '#c1bd8f',
    500: '#a5a262',
    950: '#000000',
  },
}
SCSS
$custom: #a5a262;
$custom-light: #c1bd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a262",
  "rgb": {
    "r": 165,
    "g": 162,
    "b": 98
  },
  "hsl": {
    "h": 57.313,
    "s": 27.126,
    "l": 51.569
  },
  "oklch": {
    "l": 0.69986,
    "c": 0.08521,
    "h": 106.1
  },
  "luminance": 0.34722
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A5A262

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

Preview Lab → · Contrast checker → · Palette generator →

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