#A4A42E#A4A42E

#A4A42E is a light, vivid yellow. Relative luminance 0.346; OKLCH L 69.7% C 0.135 H 109.4°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#A4A42E
RGBrgb(164, 164, 46)
HSLhsl(60, 56%, 41%)
HSVhsv(60, 72%, 64%)
CMYKcmyk(0%, 0%, 72%, 35.7%)
CIE-LABlab(65.47, -14.24, 57.62)
CIE-LCHlch(65.47, 59.35, 103.89°)
OKLaboklab(69.74% -0.045 0.1276)
OKLCHoklch(69.74% 0.135 109.4)
XYZxyz(29.0795, 34.6416, 7.7389)
Luminance0.3464 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4A42E #2E2EA4
analogous
#A4692E #A4A42E #69A42E
triadic
#A4A42E #2EA4A4 #A42EA4
tetradic
#A4A42E #2EA469 #2E2EA4 #A42E69
square
#A4A42E #2EA469 #2E2EA4 #A42E69
split-complementary
#A4A42E #2E69A4 #692EA4
monochromatic
#444413 #747421 #A4A42E #CBCB45 #D8D874

Accessibility & contrast

On white

2.65
#A4A42E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#A4A42E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4A42E
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4A42E#FFFFFF#000000##000000
##A4A42E1.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D19
Deuteranopia (green-blind)
#B3A137
Tritanopia (blue-blind)
#B0998D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a4a42e;
/* rgb */ color: rgb(164, 164, 46);
/* oklch */ color: oklch(69.7% 0.135 109.4);
Tailwind
colors: {
  custom: {
    50: '#c2be6f',
    500: '#a4a42e',
    950: '#000000',
  },
}
SCSS
$custom: #a4a42e;
$custom-light: #c2be6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a4a42e",
  "rgb": {
    "r": 164,
    "g": 164,
    "b": 46
  },
  "hsl": {
    "h": 60,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.69742,
    "c": 0.13531,
    "h": 109.4
  },
  "luminance": 0.34641
}

Semantic roles & 50–950 ramp

primary
#A4A42E
secondary
#6E6EC0
accent
#48DF48
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A4A42E

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

Preview Lab → · Contrast checker → · Palette generator →

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