#A4A234#A4A234

#A4A234 is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.3% C 0.129 H 108.3°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#A4A234
RGBrgb(164, 162, 52)
HSLhsl(59, 52%, 42%)
HSVhsv(59, 68%, 64%)
CMYKcmyk(0%, 1.2%, 68.3%, 35.7%)
CIE-LABlab(64.95, -12.89, 54.81)
CIE-LCHlch(64.95, 56.30, 103.23°)
OKLaboklab(69.34% -0.0406 0.1227)
OKLCHoklch(69.34% 0.129 108.3)
XYZxyz(28.8510, 33.9820, 8.2876)
Luminance0.3398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4A234 #3436A4
analogous
#A46A34 #A4A234 #6EA434
triadic
#A4A234 #34A4A2 #A234A4
tetradic
#A4A234 #34A46A #3436A4 #A4346E
square
#A4A234 #34A46A #3436A4 #A4346E
split-complementary
#A4A234 #346EA4 #6A34A4
monochromatic
#474617 #767425 #A4A234 #C7C54E #D6D47D

Accessibility & contrast

On white

2.69
#A4A234 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#A4A234 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4A234
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4A234#FFFFFF#000000##000000
##A4A2341.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B24
Deuteranopia (green-blind)
#B19F3B
Tritanopia (blue-blind)
#B0988C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a4a234;
/* rgb */ color: rgb(164, 162, 52);
/* oklch */ color: oklch(69.3% 0.129 108.3);
Tailwind
colors: {
  custom: {
    50: '#c2bd72',
    500: '#a4a234',
    950: '#000000',
  },
}
SCSS
$custom: #a4a234;
$custom-light: #c2bd72;
$custom-dark: #000000;
JSON
{
  "hex": "#a4a234",
  "rgb": {
    "r": 164,
    "g": 162,
    "b": 52
  },
  "hsl": {
    "h": 58.929,
    "s": 51.852,
    "l": 42.353
  },
  "oklch": {
    "l": 0.6934,
    "c": 0.12926,
    "h": 108.3
  },
  "luminance": 0.33981
}

Semantic roles & 50–950 ramp

primary
#A4A234
secondary
#7577BF
accent
#4FDB4C
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A4A234

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

Preview Lab → · Contrast checker → · Palette generator →

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