#A4A540#A4A540

#A4A540 is a light, vivid yellow. Relative luminance 0.352; OKLCH L 70.1% C 0.123 H 109.7°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#A4A540
RGBrgb(164, 165, 64)
HSLhsl(61, 44%, 45%)
HSVhsv(61, 61%, 65%)
CMYKcmyk(0.6%, 0%, 61.2%, 35.3%)
CIE-LABlab(65.88, -13.69, 50.72)
CIE-LCHlch(65.88, 52.53, 105.10°)
OKLaboklab(70.12% -0.0416 0.116)
OKLCHoklch(70.12% 0.123 109.7)
XYZxyz(29.6913, 35.1737, 10.0746)
Luminance0.3517 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4A540 #4140A5
analogous
#A57440 #A4A540 #72A540
triadic
#A4A540 #40A4A5 #A540A4
tetradic
#A4A540 #40A574 #4140A5 #A54072
square
#A4A540 #40A574 #4140A5 #A54072
split-complementary
#A4A540 #4072A5 #7440A5
monochromatic
#4C4D1E #78792F #A4A540 #C1C261 #D2D38D

Accessibility & contrast

On white

2.61
#A4A540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#A4A540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4A540
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4A540#FFFFFF#000000##000000
##A4A5401.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E34
Deuteranopia (green-blind)
#B3A246
Tritanopia (blue-blind)
#AF9B90
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a4a540;
/* rgb */ color: rgb(164, 165, 64);
/* oklch */ color: oklch(70.1% 0.123 109.7);
Tailwind
colors: {
  custom: {
    50: '#c2bf79',
    500: '#a4a540',
    950: '#000000',
  },
}
SCSS
$custom: #a4a540;
$custom-light: #c2bf79;
$custom-dark: #000000;
JSON
{
  "hex": "#a4a540",
  "rgb": {
    "r": 164,
    "g": 165,
    "b": 64
  },
  "hsl": {
    "h": 60.594,
    "s": 44.105,
    "l": 44.902
  },
  "oklch": {
    "l": 0.70117,
    "c": 0.12318,
    "h": 109.7
  },
  "luminance": 0.35173
}

Semantic roles & 50–950 ramp

primary
#A4A540
secondary
#8483BE
accent
#54D455
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #A4A540

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

Preview Lab → · Contrast checker → · Palette generator →

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