#A5A42D#A5A42D

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

Color values

HEX#A5A42D
RGBrgb(165, 164, 45)
HSLhsl(60, 57%, 41%)
HSVhsv(60, 73%, 65%)
CMYKcmyk(0%, 0.6%, 72.7%, 35.3%)
CIE-LABlab(65.55, -13.85, 58.08)
CIE-LCHlch(65.55, 59.71, 103.42°)
OKLaboklab(69.82% -0.0441 0.1284)
OKLCHoklch(69.82% 0.136 109)
XYZxyz(29.2672, 34.7406, 7.6460)
Luminance0.3474 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A42D #2D2EA5
analogous
#A5682D #A5A42D #6AA52D
triadic
#A5A42D #2DA5A4 #A42DA5
tetradic
#A5A42D #2DA568 #2D2EA5 #A52D6A
square
#A5A42D #2DA568 #2D2EA5 #A52D6A
split-complementary
#A5A42D #2D6AA5 #682DA5
monochromatic
#454413 #757420 #A5A42D #CCCB43 #D9D873

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5A42D#FFFFFF#000000##000000
##A5A42D1.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)
#B29D16
Deuteranopia (green-blind)
#B3A136
Tritanopia (blue-blind)
#B1998D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a5a42d;
/* rgb */ color: rgb(165, 164, 45);
/* oklch */ color: oklch(69.8% 0.136 109.0);
Tailwind
colors: {
  custom: {
    50: '#c3be6f',
    500: '#a5a42d',
    950: '#000000',
  },
}
SCSS
$custom: #a5a42d;
$custom-light: #c3be6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a42d",
  "rgb": {
    "r": 165,
    "g": 164,
    "b": 45
  },
  "hsl": {
    "h": 59.5,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.69823,
    "c": 0.13573,
    "h": 109
  },
  "luminance": 0.3474
}

Semantic roles & 50–950 ramp

primary
#A5A42D
secondary
#6D6EC1
accent
#49E047
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A5A42D

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

Preview Lab → · Contrast checker → · Palette generator →

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