#A4A142#A4A142

#A4A142 is a light, moderate yellow. Relative luminance 0.338; OKLCH L 69.2% C 0.117 H 107.4°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#A4A142
RGBrgb(164, 161, 66)
HSLhsl(58, 43%, 45%)
HSVhsv(58, 60%, 64%)
CMYKcmyk(0%, 1.8%, 59.8%, 35.7%)
CIE-LABlab(64.78, -11.45, 48.62)
CIE-LCHlch(64.78, 49.95, 103.25°)
OKLaboklab(69.25% -0.035 0.1118)
OKLCHoklch(69.25% 0.117 107.4)
XYZxyz(29.0390, 33.7765, 10.1430)
Luminance0.3378 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4A142 #4245A4
analogous
#A47042 #A4A142 #76A442
triadic
#A4A142 #42A4A1 #A142A4
tetradic
#A4A142 #42A470 #4245A4 #A44276
square
#A4A142 #42A470 #4245A4 #A44276
split-complementary
#A4A142 #4276A4 #7042A4
monochromatic
#4D4B1F #787630 #A4A142 #C0BD63 #D2D08F

Accessibility & contrast

On white

2.71
#A4A142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#A4A142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4A142
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4A142#FFFFFF#000000##000000
##A4A1421.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9B37
Deuteranopia (green-blind)
#AF9F47
Tritanopia (blue-blind)
#AF978D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a4a142;
/* rgb */ color: rgb(164, 161, 66);
/* oklch */ color: oklch(69.2% 0.117 107.4);
Tailwind
colors: {
  custom: {
    50: '#c1bc7a',
    500: '#a4a142',
    950: '#000000',
  },
}
SCSS
$custom: #a4a142;
$custom-light: #c1bc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#a4a142",
  "rgb": {
    "r": 164,
    "g": 161,
    "b": 66
  },
  "hsl": {
    "h": 58.163,
    "s": 42.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.69246,
    "c": 0.11713,
    "h": 107.4
  },
  "luminance": 0.33776
}

Semantic roles & 50–950 ramp

primary
#A4A142
secondary
#8587BD
accent
#59D255
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #A4A142

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

Preview Lab → · Contrast checker → · Palette generator →

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