#A4A225#A4A225

#A4A225 is a light, vivid yellow. Relative luminance 0.339; OKLCH L 69.2% C 0.138 H 108.6°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#A4A225
RGBrgb(164, 162, 37)
HSLhsl(59, 63%, 39%)
HSVhsv(59, 77%, 64%)
CMYKcmyk(0%, 1.2%, 77.4%, 35.7%)
CIE-LABlab(64.86, -13.61, 60.13)
CIE-LCHlch(64.86, 61.65, 102.75°)
OKLaboklab(69.24% -0.0441 0.1312)
OKLCHoklch(69.24% 0.138 108.6)
XYZxyz(28.5652, 33.8677, 6.7823)
Luminance0.3387 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4A225 #2527A4
analogous
#A46325 #A4A225 #67A425
triadic
#A4A225 #25A4A2 #A225A4
tetradic
#A4A225 #25A463 #2527A4 #A42567
square
#A4A225 #25A463 #2527A4 #A42567
split-complementary
#A4A225 #2567A4 #6325A4
monochromatic
#403F0E #72711A #A4A225 #D1CF35 #DDDB67

Accessibility & contrast

On white

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

On black

7.77
#A4A225 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4A225
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4A225#FFFFFF#000000##000000
##A4A2251.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a4a225;
/* rgb */ color: rgb(164, 162, 37);
/* oklch */ color: oklch(69.2% 0.138 108.6);
Tailwind
colors: {
  custom: {
    50: '#c3bd6b',
    500: '#a4a225',
    950: '#000000',
  },
}
SCSS
$custom: #a4a225;
$custom-light: #c3bd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a4a225",
  "rgb": {
    "r": 164,
    "g": 162,
    "b": 37
  },
  "hsl": {
    "h": 59.055,
    "s": 63.184,
    "l": 39.412
  },
  "oklch": {
    "l": 0.69238,
    "c": 0.13845,
    "h": 108.6
  },
  "luminance": 0.33867
}

Semantic roles & 50–950 ramp

primary
#A4A225
secondary
#6264C2
accent
#44E642
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A4A225

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

Preview Lab → · Contrast checker → · Palette generator →

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