#A4A229#A4A229

#A4A229 is a light, vivid yellow. Relative luminance 0.339; OKLCH L 69.3% C 0.136 H 108.5°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#A4A229
RGBrgb(164, 162, 41)
HSLhsl(59, 60%, 40%)
HSVhsv(59, 75%, 64%)
CMYKcmyk(0%, 1.2%, 75%, 35.7%)
CIE-LABlab(64.88, -13.44, 58.83)
CIE-LCHlch(64.88, 60.34, 102.87°)
OKLaboklab(69.26% -0.0433 0.1292)
OKLCHoklch(69.26% 0.136 108.5)
XYZxyz(28.6315, 33.8942, 7.1314)
Luminance0.3389 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4A229 #292BA4
analogous
#A46429 #A4A229 #69A429
triadic
#A4A229 #29A4A2 #A229A4
tetradic
#A4A229 #29A464 #292BA4 #A42969
square
#A4A229 #29A464 #292BA4 #A42969
split-complementary
#A4A229 #2969A4 #6429A4
monochromatic
#424111 #73721D #A4A229 #CECC3C #DAD96D

Accessibility & contrast

On white

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

On black

7.78
#A4A229 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4A229
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4A229#FFFFFF#000000##000000
##A4A2291.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B0E
Deuteranopia (green-blind)
#B19F33
Tritanopia (blue-blind)
#B0978B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a4a229;
/* rgb */ color: rgb(164, 162, 41);
/* oklch */ color: oklch(69.3% 0.136 108.5);
Tailwind
colors: {
  custom: {
    50: '#c2bd6c',
    500: '#a4a229',
    950: '#000000',
  },
}
SCSS
$custom: #a4a229;
$custom-light: #c2bd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a4a229",
  "rgb": {
    "r": 164,
    "g": 162,
    "b": 41
  },
  "hsl": {
    "h": 59.024,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.69262,
    "c": 0.13628,
    "h": 108.5
  },
  "luminance": 0.33893
}

Semantic roles & 50–950 ramp

primary
#A4A229
secondary
#6869C1
accent
#47E345
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A4A229

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

Preview Lab → · Contrast checker → · Palette generator →

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