#A4A62A#A4A62A

#A4A62A is a light, vivid yellow. Relative luminance 0.353; OKLCH L 70.2% C 0.140 H 110.5°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#A4A62A
RGBrgb(164, 166, 42)
HSLhsl(61, 60%, 41%)
HSVhsv(61, 75%, 65%)
CMYKcmyk(1.2%, 0%, 74.7%, 34.9%)
CIE-LABlab(66.01, -15.47, 59.54)
CIE-LCHlch(66.01, 61.52, 104.56°)
OKLaboklab(70.17% -0.0488 0.1309)
OKLCHoklch(70.17% 0.14 110.5)
XYZxyz(29.3650, 35.3329, 7.4631)
Luminance0.3533 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4A62A #2C2AA6
analogous
#A66A2A #A4A62A #66A62A
triadic
#A4A62A #2AA4A6 #A62AA4
tetradic
#A4A62A #2AA66A #2C2AA6 #A62A66
square
#A4A62A #2AA66A #2C2AA6 #A62A66
split-complementary
#A4A62A #2A66A6 #6A2AA6
monochromatic
#434411 #74751E #A4A62A #CCCE3F #D9DB70

Accessibility & contrast

On white

2.60
#A4A62A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#A4A62A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4A62A
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4A62A#FFFFFF#000000##000000
##A4A62A1.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F0E
Deuteranopia (green-blind)
#B5A234
Tritanopia (blue-blind)
#B09B8E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a4a62a;
/* rgb */ color: rgb(164, 166, 42);
/* oklch */ color: oklch(70.2% 0.140 110.5);
Tailwind
colors: {
  custom: {
    50: '#c2c06d',
    500: '#a4a62a',
    950: '#000000',
  },
}
SCSS
$custom: #a4a62a;
$custom-light: #c2c06d;
$custom-dark: #000000;
JSON
{
  "hex": "#a4a62a",
  "rgb": {
    "r": 164,
    "g": 166,
    "b": 42
  },
  "hsl": {
    "h": 60.968,
    "s": 59.615,
    "l": 40.784
  },
  "oklch": {
    "l": 0.70165,
    "c": 0.13974,
    "h": 110.5
  },
  "luminance": 0.35332
}

Semantic roles & 50–950 ramp

primary
#A4A62A
secondary
#6B6AC2
accent
#45E348
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A4A62A

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

Preview Lab → · Contrast checker → · Palette generator →

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