#A4A338#A4A338

#A4A338 is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.6% C 0.127 H 108.8°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#A4A338
RGBrgb(164, 163, 56)
HSLhsl(59, 49%, 43%)
HSVhsv(59, 66%, 64%)
CMYKcmyk(0%, 0.6%, 65.9%, 35.7%)
CIE-LABlab(65.26, -13.17, 53.49)
CIE-LCHlch(65.26, 55.09, 103.83°)
OKLaboklab(69.6% -0.041 0.1206)
OKLCHoklch(69.6% 0.127 108.8)
XYZxyz(29.1218, 34.3733, 8.8413)
Luminance0.3437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4A338 #3839A4
analogous
#A46D38 #A4A338 #6FA438
triadic
#A4A338 #38A4A3 #A338A4
tetradic
#A4A338 #38A46D #3839A4 #A4386F
square
#A4A338 #38A46D #3839A4 #A4386F
split-complementary
#A4A338 #386FA4 #6D38A4
monochromatic
#494819 #767628 #A4A338 #C5C454 #D4D482

Accessibility & contrast

On white

2.67
#A4A338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#A4A338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4A338
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4A338#FFFFFF#000000##000000
##A4A3381.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C29
Deuteranopia (green-blind)
#B2A03F
Tritanopia (blue-blind)
#AF998D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a4a338;
/* rgb */ color: rgb(164, 163, 56);
/* oklch */ color: oklch(69.6% 0.127 108.8);
Tailwind
colors: {
  custom: {
    50: '#c2be74',
    500: '#a4a338',
    950: '#000000',
  },
}
SCSS
$custom: #a4a338;
$custom-light: #c2be74;
$custom-dark: #000000;
JSON
{
  "hex": "#a4a338",
  "rgb": {
    "r": 164,
    "g": 163,
    "b": 56
  },
  "hsl": {
    "h": 59.444,
    "s": 49.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.69596,
    "c": 0.12739,
    "h": 108.8
  },
  "luminance": 0.34372
}

Semantic roles & 50–950 ramp

primary
#A4A338
secondary
#7A7ABE
accent
#50D94F
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A4A338

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

Preview Lab → · Contrast checker → · Palette generator →

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