#A4A42D#A4A42D

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

Color values

HEX#A4A42D
RGBrgb(164, 164, 45)
HSLhsl(60, 57%, 41%)
HSVhsv(60, 73%, 64%)
CMYKcmyk(0%, 0%, 72.6%, 35.7%)
CIE-LABlab(65.46, -14.29, 57.97)
CIE-LCHlch(65.46, 59.71, 103.85°)
OKLaboklab(69.74% -0.0453 0.1282)
OKLCHoklch(69.74% 0.136 109.5)
XYZxyz(29.0600, 34.6338, 7.6363)
Luminance0.3463 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4A42D #2D2DA4
analogous
#A4682D #A4A42D #68A42D
triadic
#A4A42D #2DA4A4 #A42DA4
tetradic
#A4A42D #2DA468 #2D2DA4 #A42D68
square
#A4A42D #2DA468 #2D2DA4 #A42D68
split-complementary
#A4A42D #2D68A4 #682DA4
monochromatic
#444413 #747420 #A4A42D #CBCB43 #D9D973

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A4A42D#FFFFFF#000000##000000
##A4A42D1.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)
#B19D17
Deuteranopia (green-blind)
#B3A136
Tritanopia (blue-blind)
#B0998D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a4a42d;
/* rgb */ color: rgb(164, 164, 45);
/* oklch */ color: oklch(69.7% 0.136 109.5);
Tailwind
colors: {
  custom: {
    50: '#c2be6f',
    500: '#a4a42d',
    950: '#000000',
  },
}
SCSS
$custom: #a4a42d;
$custom-light: #c2be6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a4a42d",
  "rgb": {
    "r": 164,
    "g": 164,
    "b": 45
  },
  "hsl": {
    "h": 60,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.69736,
    "c": 0.13593,
    "h": 109.5
  },
  "luminance": 0.34633
}

Semantic roles & 50–950 ramp

primary
#A4A42D
secondary
#6D6DC0
accent
#48E048
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A4A42D

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

Preview Lab → · Contrast checker → · Palette generator →

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