#A4A223#A4A223

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

Color values

HEX#A4A223
RGBrgb(164, 162, 35)
HSLhsl(59, 65%, 39%)
HSVhsv(59, 79%, 64%)
CMYKcmyk(0%, 1.2%, 78.7%, 35.7%)
CIE-LABlab(64.85, -13.68, 60.74)
CIE-LCHlch(64.85, 62.27, 102.70°)
OKLaboklab(69.23% -0.0445 0.1322)
OKLCHoklch(69.23% 0.139 108.6)
XYZxyz(28.5347, 33.8555, 6.6214)
Luminance0.3386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4A223 #2325A4
analogous
#A46223 #A4A223 #66A423
triadic
#A4A223 #23A4A2 #A223A4
tetradic
#A4A223 #23A462 #2325A4 #A42366
square
#A4A223 #23A462 #2325A4 #A42366
split-complementary
#A4A223 #2366A4 #6223A4
monochromatic
#3F3E0D #727018 #A4A223 #D3D131 #DEDC64

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A4A223#FFFFFF#000000##000000
##A4A2231.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)
#B09B00
Deuteranopia (green-blind)
#B29F2E
Tritanopia (blue-blind)
#B0978B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a4a223;
/* rgb */ color: rgb(164, 162, 35);
/* oklch */ color: oklch(69.2% 0.139 108.6);
Tailwind
colors: {
  custom: {
    50: '#c3bd6a',
    500: '#a4a223',
    950: '#000000',
  },
}
SCSS
$custom: #a4a223;
$custom-light: #c3bd6a;
$custom-dark: #000000;
JSON
{
  "hex": "#a4a223",
  "rgb": {
    "r": 164,
    "g": 162,
    "b": 35
  },
  "hsl": {
    "h": 59.07,
    "s": 64.824,
    "l": 39.02
  },
  "oklch": {
    "l": 0.69227,
    "c": 0.13946,
    "h": 108.6
  },
  "luminance": 0.33855
}

Semantic roles & 50–950 ramp

primary
#A4A223
secondary
#6061C3
accent
#43E840
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A4A223

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

Preview Lab → · Contrast checker → · Palette generator →

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