#A8A224#A8A224

#A8A224 is a light, vivid yellow. Relative luminance 0.343; OKLCH L 69.6% C 0.138 H 106.6°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#A8A224
RGBrgb(168, 162, 36)
HSLhsl(57, 65%, 40%)
HSVhsv(57, 79%, 66%)
CMYKcmyk(0%, 3.6%, 78.6%, 34.1%)
CIE-LABlab(65.20, -11.88, 60.88)
CIE-LCHlch(65.20, 62.02, 101.04°)
OKLaboklab(69.59% -0.0396 0.1325)
OKLCHoklch(69.59% 0.138 106.6)
XYZxyz(29.3885, 34.2940, 6.7401)
Luminance0.3429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A224 #242AA8
analogous
#A86024 #A8A224 #6CA824
triadic
#A8A224 #24A8A2 #A224A8
tetradic
#A8A224 #24A860 #242AA8 #A8246C
square
#A8A224 #24A860 #242AA8 #A8246C
split-complementary
#A8A224 #246CA8 #6024A8
monochromatic
#43410E #767119 #A8A224 #D4CD35 #DFD968

Accessibility & contrast

On white

2.67
#A8A224 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#A8A224 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A224
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A224#FFFFFF#000000##000000
##A8A2241.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C00
Deuteranopia (green-blind)
#B3A02F
Tritanopia (blue-blind)
#B5978B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a8a224;
/* rgb */ color: rgb(168, 162, 36);
/* oklch */ color: oklch(69.6% 0.138 106.6);
Tailwind
colors: {
  custom: {
    50: '#c6bd6a',
    500: '#a8a224',
    950: '#000000',
  },
}
SCSS
$custom: #a8a224;
$custom-light: #c6bd6a;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a224",
  "rgb": {
    "r": 168,
    "g": 162,
    "b": 36
  },
  "hsl": {
    "h": 57.273,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.69589,
    "c": 0.13826,
    "h": 106.6
  },
  "luminance": 0.34293
}

Semantic roles & 50–950 ramp

primary
#A8A224
secondary
#6368C4
accent
#48E840
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A8A224

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

Preview Lab → · Contrast checker → · Palette generator →

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