#A5A434#A5A434

#A5A434 is a light, vivid yellow. Relative luminance 0.348; OKLCH L 69.9% C 0.131 H 108.9°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#A5A434
RGBrgb(165, 164, 52)
HSLhsl(59, 52%, 43%)
HSVhsv(59, 68%, 65%)
CMYKcmyk(0%, 0.6%, 68.5%, 35.3%)
CIE-LABlab(65.59, -13.49, 55.48)
CIE-LCHlch(65.59, 57.10, 103.67°)
OKLaboklab(69.87% -0.0424 0.1241)
OKLCHoklch(69.87% 0.131 108.9)
XYZxyz(29.4134, 34.7991, 8.4156)
Luminance0.3480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A434 #3435A5
analogous
#A56B34 #A5A434 #6EA534
triadic
#A5A434 #34A5A4 #A434A5
tetradic
#A5A434 #34A56B #3435A5 #A5346E
square
#A5A434 #34A56B #3435A5 #A5346E
split-complementary
#A5A434 #346EA5 #6B34A5
monochromatic
#484717 #767625 #A5A434 #C7C64F #D6D57D

Accessibility & contrast

On white

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

On black

7.96
#A5A434 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A434
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A434#FFFFFF#000000##000000
##A5A4341.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D23
Deuteranopia (green-blind)
#B3A13C
Tritanopia (blue-blind)
#B19A8E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a5a434;
/* rgb */ color: rgb(165, 164, 52);
/* oklch */ color: oklch(69.9% 0.131 108.9);
Tailwind
colors: {
  custom: {
    50: '#c3be72',
    500: '#a5a434',
    950: '#000000',
  },
}
SCSS
$custom: #a5a434;
$custom-light: #c3be72;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a434",
  "rgb": {
    "r": 165,
    "g": 164,
    "b": 52
  },
  "hsl": {
    "h": 59.469,
    "s": 52.074,
    "l": 42.549
  },
  "oklch": {
    "l": 0.69874,
    "c": 0.13114,
    "h": 108.9
  },
  "luminance": 0.34798
}

Semantic roles & 50–950 ramp

primary
#A5A434
secondary
#7676BF
accent
#4EDC4C
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A5A434

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

Preview Lab → · Contrast checker → · Palette generator →

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