#A5A334#A5A334

#A5A334 is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.7% C 0.130 H 108.3°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#A5A334
RGBrgb(165, 163, 52)
HSLhsl(59, 52%, 43%)
HSVhsv(59, 68%, 65%)
CMYKcmyk(0%, 1.2%, 68.5%, 35.3%)
CIE-LABlab(65.31, -12.97, 55.20)
CIE-LCHlch(65.31, 56.70, 103.22°)
OKLaboklab(69.65% -0.0409 0.1235)
OKLCHoklch(69.65% 0.13 108.3)
XYZxyz(29.2351, 34.4426, 8.3562)
Luminance0.3444 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A334 #3436A5
analogous
#A56A34 #A5A334 #6FA534
triadic
#A5A334 #34A5A3 #A334A5
tetradic
#A5A334 #34A56A #3436A5 #A5346F
square
#A5A334 #34A56A #3436A5 #A5346F
split-complementary
#A5A334 #346FA5 #6A34A5
monochromatic
#484717 #767525 #A5A334 #C7C54F #D6D57D

Accessibility & contrast

On white

2.66
#A5A334 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#A5A334 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A334
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A334#FFFFFF#000000##000000
##A5A3341.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5a334;
/* rgb */ color: rgb(165, 163, 52);
/* oklch */ color: oklch(69.7% 0.130 108.3);
Tailwind
colors: {
  custom: {
    50: '#c3be72',
    500: '#a5a334',
    950: '#000000',
  },
}
SCSS
$custom: #a5a334;
$custom-light: #c3be72;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a334",
  "rgb": {
    "r": 165,
    "g": 163,
    "b": 52
  },
  "hsl": {
    "h": 58.938,
    "s": 52.074,
    "l": 42.549
  },
  "oklch": {
    "l": 0.69651,
    "c": 0.13012,
    "h": 108.3
  },
  "luminance": 0.34442
}

Semantic roles & 50–950 ramp

primary
#A5A334
secondary
#7677BF
accent
#4FDC4C
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A5A334

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

Preview Lab → · Contrast checker → · Palette generator →

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