#A4A438#A4A438

#A4A438 is a light, vivid yellow. Relative luminance 0.347; OKLCH L 69.8% C 0.128 H 109.3°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#A4A438
RGBrgb(164, 164, 56)
HSLhsl(60, 49%, 43%)
HSVhsv(60, 66%, 64%)
CMYKcmyk(0%, 0%, 65.9%, 35.7%)
CIE-LABlab(65.54, -13.69, 53.78)
CIE-LCHlch(65.54, 55.50, 104.28°)
OKLaboklab(69.82% -0.0425 0.1212)
OKLCHoklch(69.82% 0.128 109.3)
XYZxyz(29.3001, 34.7298, 8.9007)
Luminance0.3473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4A438 #3838A4
analogous
#A46E38 #A4A438 #6EA438
triadic
#A4A438 #38A4A4 #A438A4
tetradic
#A4A438 #38A46E #3838A4 #A4386E
square
#A4A438 #38A46E #3838A4 #A4386E
split-complementary
#A4A438 #386EA4 #6E38A4
monochromatic
#494919 #767628 #A4A438 #C5C554 #D4D482

Accessibility & contrast

On white

2.64
#A4A438 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#A4A438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4A438
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4A438#FFFFFF#000000##000000
##A4A4381.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D29
Deuteranopia (green-blind)
#B2A13F
Tritanopia (blue-blind)
#AF9A8E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a4a438;
/* rgb */ color: rgb(164, 164, 56);
/* oklch */ color: oklch(69.8% 0.128 109.3);
Tailwind
colors: {
  custom: {
    50: '#c2be75',
    500: '#a4a438',
    950: '#000000',
  },
}
SCSS
$custom: #a4a438;
$custom-light: #c2be75;
$custom-dark: #000000;
JSON
{
  "hex": "#a4a438",
  "rgb": {
    "r": 164,
    "g": 164,
    "b": 56
  },
  "hsl": {
    "h": 60,
    "s": 49.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.6982,
    "c": 0.12845,
    "h": 109.3
  },
  "luminance": 0.34729
}

Semantic roles & 50–950 ramp

primary
#A4A438
secondary
#7A7ABE
accent
#4FD94F
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A4A438

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

Preview Lab → · Contrast checker → · Palette generator →

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