#A4A731#A4A731

#A4A731 is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.4% C 0.137 H 110.9°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#A4A731
RGBrgb(164, 167, 49)
HSLhsl(62, 55%, 42%)
HSVhsv(62, 71%, 65%)
CMYKcmyk(1.8%, 0%, 70.7%, 34.5%)
CIE-LABlab(66.33, -15.64, 57.34)
CIE-LCHlch(66.33, 59.44, 105.26°)
OKLaboklab(70.44% -0.0487 0.1275)
OKLCHoklch(70.44% 0.137 110.9)
XYZxyz(29.6839, 35.7525, 8.2424)
Luminance0.3575 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4A731 #3431A7
analogous
#A76F31 #A4A731 #69A731
triadic
#A4A731 #31A4A7 #A731A4
tetradic
#A4A731 #31A76F #3431A7 #A73169
square
#A4A731 #31A76F #3431A7 #A73169
split-complementary
#A4A731 #3169A7 #6F31A7
monochromatic
#474815 #767823 #A4A731 #C7CA4B #D6D87A

Accessibility & contrast

On white

2.58
#A4A731 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#A4A731 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4A731
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4A731#FFFFFF#000000##000000
##A4A7311.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A01D
Deuteranopia (green-blind)
#B5A33A
Tritanopia (blue-blind)
#AF9D90
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a4a731;
/* rgb */ color: rgb(164, 167, 49);
/* oklch */ color: oklch(70.4% 0.137 110.9);
Tailwind
colors: {
  custom: {
    50: '#c2c071',
    500: '#a4a731',
    950: '#000000',
  },
}
SCSS
$custom: #a4a731;
$custom-light: #c2c071;
$custom-dark: #000000;
JSON
{
  "hex": "#a4a731",
  "rgb": {
    "r": 164,
    "g": 167,
    "b": 49
  },
  "hsl": {
    "h": 61.525,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.70437,
    "c": 0.13651,
    "h": 110.9
  },
  "luminance": 0.35752
}

Semantic roles & 50–950 ramp

primary
#A4A731
secondary
#7573C1
accent
#4ADE4E
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A4A731

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

Preview Lab → · Contrast checker → · Palette generator →

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