#A8A84F#A8A84F

#A8A84F is a light, moderate yellow. Relative luminance 0.369; OKLCH L 71.3% C 0.112 H 108.9°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#A8A84F
RGBrgb(168, 168, 79)
HSLhsl(60, 36%, 48%)
HSVhsv(60, 53%, 66%)
CMYKcmyk(0%, 0%, 53%, 34.1%)
CIE-LABlab(67.20, -12.37, 45.33)
CIE-LCHlch(67.20, 46.99, 105.26°)
OKLaboklab(71.29% -0.0364 0.1062)
OKLCHoklch(71.29% 0.112 108.9)
XYZxyz(31.5631, 36.8954, 12.8545)
Luminance0.3690 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A84F #4F4FA8
analogous
#A87B4F #A8A84F #7BA84F
triadic
#A8A84F #4FA8A8 #A84FA8
tetradic
#A8A84F #4FA87B #4F4FA8 #A84F7B
square
#A8A84F #4FA87B #4F4FA8 #A84F7B
split-complementary
#A8A84F #4F7BA8 #7B4FA8
monochromatic
#555528 #7E7E3B #A8A84F #BEBE76 #D2D29F

Accessibility & contrast

On white

2.51
#A8A84F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#A8A84F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A84F
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A84F#FFFFFF#000000##000000
##A8A84F1.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A246
Deuteranopia (green-blind)
#B5A554
Tritanopia (blue-blind)
#B29F94
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a8a84f;
/* rgb */ color: rgb(168, 168, 79);
/* oklch */ color: oklch(71.3% 0.112 108.9);
Tailwind
colors: {
  custom: {
    50: '#c4c183',
    500: '#a8a84f',
    950: '#000000',
  },
}
SCSS
$custom: #a8a84f;
$custom-light: #c4c183;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a84f",
  "rgb": {
    "r": 168,
    "g": 168,
    "b": 79
  },
  "hsl": {
    "h": 60,
    "s": 36.032,
    "l": 48.431
  },
  "oklch": {
    "l": 0.71294,
    "c": 0.11228,
    "h": 108.9
  },
  "luminance": 0.36895
}

Semantic roles & 50–950 ramp

primary
#A8A84F
secondary
#9494BF
accent
#5CCC5C
background
#FCFBF8
surface
#F8F7EF
border
#D1D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #A8A84F

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

Preview Lab → · Contrast checker → · Palette generator →

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