#A4A02E#A4A02E

#A4A02E is a light, vivid yellow. Relative luminance 0.332; OKLCH L 68.8% C 0.131 H 107.4°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#A4A02E
RGBrgb(164, 160, 46)
HSLhsl(58, 56%, 41%)
HSVhsv(58, 72%, 64%)
CMYKcmyk(0%, 2.4%, 72%, 35.7%)
CIE-LABlab(64.35, -12.16, 56.53)
CIE-LCHlch(64.35, 57.83, 102.14°)
OKLaboklab(68.85% -0.0392 0.1253)
OKLCHoklch(68.85% 0.131 107.4)
XYZxyz(28.3749, 33.2323, 7.5041)
Luminance0.3323 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4A02E #2E32A4
analogous
#A4652E #A4A02E #6DA42E
triadic
#A4A02E #2EA4A0 #A02EA4
tetradic
#A4A02E #2EA465 #2E32A4 #A42E6D
square
#A4A02E #2EA465 #2E32A4 #A42E6D
split-complementary
#A4A02E #2E6DA4 #652EA4
monochromatic
#444313 #747121 #A4A02E #CBC645 #D8D574

Accessibility & contrast

On white

2.75
#A4A02E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#A4A02E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4A02E
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4A02E#FFFFFF#000000##000000
##A4A02E1.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A1A
Deuteranopia (green-blind)
#B09E36
Tritanopia (blue-blind)
#B0958A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a4a02e;
/* rgb */ color: rgb(164, 160, 46);
/* oklch */ color: oklch(68.8% 0.131 107.4);
Tailwind
colors: {
  custom: {
    50: '#c2bb6f',
    500: '#a4a02e',
    950: '#000000',
  },
}
SCSS
$custom: #a4a02e;
$custom-light: #c2bb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a4a02e",
  "rgb": {
    "r": 164,
    "g": 160,
    "b": 46
  },
  "hsl": {
    "h": 57.966,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.68848,
    "c": 0.13128,
    "h": 107.4
  },
  "luminance": 0.33231
}

Semantic roles & 50–950 ramp

primary
#A4A02E
secondary
#6E71C0
accent
#4DDF48
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131108
muted
#82807B

Preview Lab

Preview with #A4A02E

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

Preview Lab → · Contrast checker → · Palette generator →

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