#A5A42E#A5A42E

#A5A42E is a light, vivid yellow. Relative luminance 0.347; OKLCH L 69.8% C 0.135 H 109.0°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#A5A42E
RGBrgb(165, 164, 46)
HSLhsl(59, 56%, 41%)
HSVhsv(59, 72%, 65%)
CMYKcmyk(0%, 0.6%, 72.1%, 35.3%)
CIE-LABlab(65.55, -13.81, 57.73)
CIE-LCHlch(65.55, 59.36, 103.45°)
OKLaboklab(69.83% -0.0439 0.1278)
OKLCHoklch(69.83% 0.135 109)
XYZxyz(29.2867, 34.7484, 7.7486)
Luminance0.3475 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A42E #2E2FA5
analogous
#A5692E #A5A42E #6BA52E
triadic
#A5A42E #2EA5A4 #A42EA5
tetradic
#A5A42E #2EA569 #2E2FA5 #A52E6B
square
#A5A42E #2EA569 #2E2FA5 #A52E6B
split-complementary
#A5A42E #2E6BA5 #692EA5
monochromatic
#454513 #757421 #A5A42E #CBCA45 #D8D875

Accessibility & contrast

On white

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

On black

7.95
#A5A42E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A42E
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A42E#FFFFFF#000000##000000
##A5A42E1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D18
Deuteranopia (green-blind)
#B3A137
Tritanopia (blue-blind)
#B1998D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a5a42e;
/* rgb */ color: rgb(165, 164, 46);
/* oklch */ color: oklch(69.8% 0.135 109.0);
Tailwind
colors: {
  custom: {
    50: '#c3be6f',
    500: '#a5a42e',
    950: '#000000',
  },
}
SCSS
$custom: #a5a42e;
$custom-light: #c3be6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a42e",
  "rgb": {
    "r": 165,
    "g": 164,
    "b": 46
  },
  "hsl": {
    "h": 59.496,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.6983,
    "c": 0.1351,
    "h": 109
  },
  "luminance": 0.34748
}

Semantic roles & 50–950 ramp

primary
#A5A42E
secondary
#6F6FC0
accent
#49E048
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A5A42E

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

Preview Lab → · Contrast checker → · Palette generator →

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