#A5A224#A5A224

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

Color values

HEX#A5A224
RGBrgb(165, 162, 36)
HSLhsl(59, 64%, 39%)
HSVhsv(59, 78%, 65%)
CMYKcmyk(0%, 1.8%, 78.2%, 35.3%)
CIE-LABlab(64.94, -13.20, 60.55)
CIE-LCHlch(64.94, 61.97, 102.30°)
OKLaboklab(69.32% -0.0431 0.1319)
OKLCHoklch(69.32% 0.139 108.1)
XYZxyz(28.7570, 33.9683, 6.7105)
Luminance0.3397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A224 #2427A5
analogous
#A56224 #A5A224 #67A524
triadic
#A5A224 #24A5A2 #A224A5
tetradic
#A5A224 #24A562 #2427A5 #A52467
square
#A5A224 #24A562 #2427A5 #A52467
split-complementary
#A5A224 #2467A5 #6224A5
monochromatic
#413F0E #737119 #A5A224 #D3CF34 #DEDB66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5A224#FFFFFF#000000##000000
##A5A2241.002.697.797.79
#FFFFFF2.691.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#B2A02F
Tritanopia (blue-blind)
#B1978B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a5a224;
/* rgb */ color: rgb(165, 162, 36);
/* oklch */ color: oklch(69.3% 0.139 108.1);
Tailwind
colors: {
  custom: {
    50: '#c3bd6a',
    500: '#a5a224',
    950: '#000000',
  },
}
SCSS
$custom: #a5a224;
$custom-light: #c3bd6a;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a224",
  "rgb": {
    "r": 165,
    "g": 162,
    "b": 36
  },
  "hsl": {
    "h": 58.605,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.69321,
    "c": 0.13878,
    "h": 108.1
  },
  "luminance": 0.33967
}

Semantic roles & 50–950 ramp

primary
#A5A224
secondary
#6264C3
accent
#44E741
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A5A224

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

Preview Lab → · Contrast checker → · Palette generator →

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