#A4A128#A4A128

#A4A128 is a light, vivid yellow. Relative luminance 0.335; OKLCH L 69.0% C 0.136 H 108.0°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#A4A128
RGBrgb(164, 161, 40)
HSLhsl(59, 61%, 40%)
HSVhsv(59, 76%, 64%)
CMYKcmyk(0%, 1.8%, 75.6%, 35.7%)
CIE-LABlab(64.59, -12.96, 58.90)
CIE-LCHlch(64.59, 60.31, 102.41°)
OKLaboklab(69.03% -0.042 0.1292)
OKLCHoklch(69.03% 0.136 108)
XYZxyz(28.4388, 33.5364, 6.9822)
Luminance0.3353 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4A128 #282BA4
analogous
#A46328 #A4A128 #69A428
triadic
#A4A128 #28A4A1 #A128A4
tetradic
#A4A128 #28A463 #282BA4 #A42869
square
#A4A128 #28A463 #282BA4 #A42869
split-complementary
#A4A128 #2869A4 #6328A4
monochromatic
#424010 #73711C #A4A128 #CFCB3A #DBD86B

Accessibility & contrast

On white

2.72
#A4A128 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#A4A128 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4A128
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4A128#FFFFFF#000000##000000
##A4A1281.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A0C
Deuteranopia (green-blind)
#B19F32
Tritanopia (blue-blind)
#B0968A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a4a128;
/* rgb */ color: rgb(164, 161, 40);
/* oklch */ color: oklch(69.0% 0.136 108.0);
Tailwind
colors: {
  custom: {
    50: '#c3bc6c',
    500: '#a4a128',
    950: '#000000',
  },
}
SCSS
$custom: #a4a128;
$custom-light: #c3bc6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a4a128",
  "rgb": {
    "r": 164,
    "g": 161,
    "b": 40
  },
  "hsl": {
    "h": 58.548,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.69032,
    "c": 0.13586,
    "h": 108
  },
  "luminance": 0.33535
}

Semantic roles & 50–950 ramp

primary
#A4A128
secondary
#6669C1
accent
#48E444
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A4A128

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

Preview Lab → · Contrast checker → · Palette generator →

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