#A4A12A#A4A12A

#A4A12A is a light, vivid yellow. Relative luminance 0.335; OKLCH L 69.0% C 0.135 H 108.0°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#A4A12A
RGBrgb(164, 161, 42)
HSLhsl(59, 59%, 40%)
HSVhsv(59, 74%, 64%)
CMYKcmyk(0%, 1.8%, 74.4%, 35.7%)
CIE-LABlab(64.60, -12.87, 58.22)
CIE-LCHlch(64.60, 59.63, 102.47°)
OKLaboklab(69.05% -0.0416 0.1281)
OKLCHoklch(69.05% 0.135 108)
XYZxyz(28.4737, 33.5504, 7.1660)
Luminance0.3355 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4A12A #2A2DA4
analogous
#A4642A #A4A12A #6AA42A
triadic
#A4A12A #2AA4A1 #A12AA4
tetradic
#A4A12A #2AA464 #2A2DA4 #A42A6A
square
#A4A12A #2AA464 #2A2DA4 #A42A6A
split-complementary
#A4A12A #2A6AA4 #642AA4
monochromatic
#434111 #73711E #A4A12A #CDCA3E #DAD76E

Accessibility & contrast

On white

2.72
#A4A12A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#A4A12A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4A12A
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4A12A#FFFFFF#000000##000000
##A4A12A1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A11
Deuteranopia (green-blind)
#B19F33
Tritanopia (blue-blind)
#B0968A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a4a12a;
/* rgb */ color: rgb(164, 161, 42);
/* oklch */ color: oklch(69.0% 0.135 108.0);
Tailwind
colors: {
  custom: {
    50: '#c2bc6d',
    500: '#a4a12a',
    950: '#000000',
  },
}
SCSS
$custom: #a4a12a;
$custom-light: #c2bc6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a4a12a",
  "rgb": {
    "r": 164,
    "g": 161,
    "b": 42
  },
  "hsl": {
    "h": 58.525,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.69045,
    "c": 0.13471,
    "h": 108
  },
  "luminance": 0.33549
}

Semantic roles & 50–950 ramp

primary
#A4A12A
secondary
#696BC1
accent
#49E245
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A4A12A

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

Preview Lab → · Contrast checker → · Palette generator →

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