#A5A22D#A5A22D

#A5A22D is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.4% C 0.134 H 107.9°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#A5A22D
RGBrgb(165, 162, 45)
HSLhsl(59, 57%, 41%)
HSVhsv(59, 73%, 65%)
CMYKcmyk(0%, 1.8%, 72.7%, 35.3%)
CIE-LABlab(64.99, -12.81, 57.55)
CIE-LCHlch(64.99, 58.96, 102.55°)
OKLaboklab(69.38% -0.0412 0.1272)
OKLCHoklch(69.38% 0.134 107.9)
XYZxyz(28.9121, 34.0304, 7.5277)
Luminance0.3403 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A22D #2D30A5
analogous
#A5662D #A5A22D #6CA52D
triadic
#A5A22D #2DA5A2 #A22DA5
tetradic
#A5A22D #2DA566 #2D30A5 #A52D6C
square
#A5A22D #2DA566 #2D30A5 #A52D6C
split-complementary
#A5A22D #2D6CA5 #662DA5
monochromatic
#454413 #757320 #A5A22D #CCC843 #D9D673

Accessibility & contrast

On white

2.69
#A5A22D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#A5A22D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A22D
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A22D#FFFFFF#000000##000000
##A5A22D1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B17
Deuteranopia (green-blind)
#B2A036
Tritanopia (blue-blind)
#B1978B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a5a22d;
/* rgb */ color: rgb(165, 162, 45);
/* oklch */ color: oklch(69.4% 0.134 107.9);
Tailwind
colors: {
  custom: {
    50: '#c3bd6e',
    500: '#a5a22d',
    950: '#000000',
  },
}
SCSS
$custom: #a5a22d;
$custom-light: #c3bd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a22d",
  "rgb": {
    "r": 165,
    "g": 162,
    "b": 45
  },
  "hsl": {
    "h": 58.5,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.69376,
    "c": 0.13372,
    "h": 107.9
  },
  "luminance": 0.34029
}

Semantic roles & 50–950 ramp

primary
#A5A22D
secondary
#6D6FC1
accent
#4BE047
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A5A22D

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

Preview Lab → · Contrast checker → · Palette generator →

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