#A5A342#A5A342

#A5A342 is a light, moderate yellow. Relative luminance 0.346; OKLCH L 69.8% C 0.119 H 108.0°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#A5A342
RGBrgb(165, 163, 66)
HSLhsl(59, 43%, 45%)
HSVhsv(59, 60%, 65%)
CMYKcmyk(0%, 1.2%, 60%, 35.3%)
CIE-LABlab(65.43, -12.07, 49.35)
CIE-LCHlch(65.43, 50.80, 103.74°)
OKLaboklab(69.78% -0.0368 0.1133)
OKLCHoklch(69.78% 0.119 108)
XYZxyz(29.5985, 34.5879, 10.2702)
Luminance0.3459 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A342 #4244A5
analogous
#A57142 #A5A342 #75A542
triadic
#A5A342 #42A5A3 #A342A5
tetradic
#A5A342 #42A571 #4244A5 #A54275
square
#A5A342 #42A571 #4244A5 #A54275
split-complementary
#A5A342 #4275A5 #7142A5
monochromatic
#4E4D1F #797831 #A5A342 #C1BF63 #D2D18F

Accessibility & contrast

On white

2.65
#A5A342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#A5A342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A342
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A342#FFFFFF#000000##000000
##A5A3421.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D37
Deuteranopia (green-blind)
#B1A148
Tritanopia (blue-blind)
#B0998E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a5a342;
/* rgb */ color: rgb(165, 163, 66);
/* oklch */ color: oklch(69.8% 0.119 108.0);
Tailwind
colors: {
  custom: {
    50: '#c2be7a',
    500: '#a5a342',
    950: '#000000',
  },
}
SCSS
$custom: #a5a342;
$custom-light: #c2be7a;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a342",
  "rgb": {
    "r": 165,
    "g": 163,
    "b": 66
  },
  "hsl": {
    "h": 58.788,
    "s": 42.857,
    "l": 45.294
  },
  "oklch": {
    "l": 0.69778,
    "c": 0.11914,
    "h": 108
  },
  "luminance": 0.34587
}

Semantic roles & 50–950 ramp

primary
#A5A342
secondary
#8586BD
accent
#58D355
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #A5A342

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

Preview Lab → · Contrast checker → · Palette generator →

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