#A5A22E#A5A22E

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

Color values

HEX#A5A22E
RGBrgb(165, 162, 46)
HSLhsl(58, 56%, 41%)
HSVhsv(58, 72%, 65%)
CMYKcmyk(0%, 1.8%, 72.1%, 35.3%)
CIE-LABlab(64.99, -12.77, 57.19)
CIE-LCHlch(64.99, 58.59, 102.58°)
OKLaboklab(69.38% -0.041 0.1266)
OKLCHoklch(69.38% 0.133 107.9)
XYZxyz(28.9316, 34.0382, 7.6303)
Luminance0.3404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A22E #2E31A5
analogous
#A5672E #A5A22E #6DA52E
triadic
#A5A22E #2EA5A2 #A22EA5
tetradic
#A5A22E #2EA567 #2E31A5 #A52E6D
square
#A5A22E #2EA567 #2E31A5 #A52E6D
split-complementary
#A5A22E #2E6DA5 #672EA5
monochromatic
#454413 #757321 #A5A22E #CBC845 #D8D675

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5A22E#FFFFFF#000000##000000
##A5A22E1.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)
#B09B19
Deuteranopia (green-blind)
#B2A036
Tritanopia (blue-blind)
#B1978B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a5a22e;
/* rgb */ color: rgb(165, 162, 46);
/* oklch */ color: oklch(69.4% 0.133 107.9);
Tailwind
colors: {
  custom: {
    50: '#c3bd6f',
    500: '#a5a22e',
    950: '#000000',
  },
}
SCSS
$custom: #a5a22e;
$custom-light: #c3bd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a22e",
  "rgb": {
    "r": 165,
    "g": 162,
    "b": 46
  },
  "hsl": {
    "h": 58.487,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.69383,
    "c": 0.1331,
    "h": 107.9
  },
  "luminance": 0.34037
}

Semantic roles & 50–950 ramp

primary
#A5A22E
secondary
#6F71C0
accent
#4CE048
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A5A22E

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

Preview Lab → · Contrast checker → · Palette generator →

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