#A5A022#A5A022

#A5A022 is a light, vivid yellow. Relative luminance 0.333; OKLCH L 68.9% C 0.138 H 107.1°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#A5A022
RGBrgb(165, 160, 34)
HSLhsl(58, 66%, 39%)
HSVhsv(58, 79%, 65%)
CMYKcmyk(0%, 3%, 79.4%, 35.3%)
CIE-LABlab(64.37, -12.24, 60.65)
CIE-LCHlch(64.37, 61.87, 101.41°)
OKLaboklab(68.86% -0.0406 0.1318)
OKLCHoklch(68.86% 0.138 107.1)
XYZxyz(28.3778, 33.2575, 6.4376)
Luminance0.3326 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A022 #2227A5
analogous
#A55F22 #A5A022 #69A522
triadic
#A5A022 #22A5A0 #A022A5
tetradic
#A5A022 #22A55F #2227A5 #A52269
square
#A5A022 #22A55F #2227A5 #A52269
split-complementary
#A5A022 #2269A5 #5F22A5
monochromatic
#403E0D #726F18 #A5A022 #D4CE30 #DFDA63

Accessibility & contrast

On white

2.74
#A5A022 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#A5A022 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A022
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A022#FFFFFF#000000##000000
##A5A0221.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A00
Deuteranopia (green-blind)
#B19E2D
Tritanopia (blue-blind)
#B29589
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a5a022;
/* rgb */ color: rgb(165, 160, 34);
/* oklch */ color: oklch(68.9% 0.138 107.1);
Tailwind
colors: {
  custom: {
    50: '#c4bb69',
    500: '#a5a022',
    950: '#000000',
  },
}
SCSS
$custom: #a5a022;
$custom-light: #c4bb69;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a022",
  "rgb": {
    "r": 165,
    "g": 160,
    "b": 34
  },
  "hsl": {
    "h": 57.71,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.68864,
    "c": 0.13786,
    "h": 107.1
  },
  "luminance": 0.33256
}

Semantic roles & 50–950 ramp

primary
#A5A022
secondary
#5F63C4
accent
#46E93F
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #A5A022

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

Preview Lab → · Contrast checker → · Palette generator →

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