#A4A231#A4A231

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

Color values

HEX#A4A231
RGBrgb(164, 162, 49)
HSLhsl(59, 54%, 42%)
HSVhsv(59, 70%, 64%)
CMYKcmyk(0%, 1.2%, 70.1%, 35.7%)
CIE-LABlab(64.93, -13.05, 55.96)
CIE-LCHlch(64.93, 57.46, 103.13°)
OKLaboklab(69.32% -0.0414 0.1246)
OKLCHoklch(69.32% 0.131 108.4)
XYZxyz(28.7856, 33.9558, 7.9429)
Luminance0.3396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4A231 #3133A4
analogous
#A46931 #A4A231 #6CA431
triadic
#A4A231 #31A4A2 #A231A4
tetradic
#A4A231 #31A469 #3133A4 #A4316C
square
#A4A231 #31A469 #3133A4 #A4316C
split-complementary
#A4A231 #316CA4 #6931A4
monochromatic
#464515 #757323 #A4A231 #C9C749 #D7D579

Accessibility & contrast

On white

2.70
#A4A231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#A4A231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4A231
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4A231#FFFFFF#000000##000000
##A4A2311.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a4a231;
/* rgb */ color: rgb(164, 162, 49);
/* oklch */ color: oklch(69.3% 0.131 108.4);
Tailwind
colors: {
  custom: {
    50: '#c2bd71',
    500: '#a4a231',
    950: '#000000',
  },
}
SCSS
$custom: #a4a231;
$custom-light: #c2bd71;
$custom-dark: #000000;
JSON
{
  "hex": "#a4a231",
  "rgb": {
    "r": 164,
    "g": 162,
    "b": 49
  },
  "hsl": {
    "h": 58.957,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.69317,
    "c": 0.13133,
    "h": 108.4
  },
  "luminance": 0.33955
}

Semantic roles & 50–950 ramp

primary
#A4A231
secondary
#7273BF
accent
#4DDD4A
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A4A231

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

Preview Lab → · Contrast checker → · Palette generator →

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