#A8A64F#A8A64F

#A8A64F is a light, moderate yellow. Relative luminance 0.362; OKLCH L 70.9% C 0.110 H 107.7°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#A8A64F
RGBrgb(168, 166, 79)
HSLhsl(59, 36%, 48%)
HSVhsv(59, 53%, 66%)
CMYKcmyk(0%, 1.2%, 53%, 34.1%)
CIE-LABlab(66.64, -11.32, 44.69)
CIE-LCHlch(66.64, 46.10, 104.22°)
OKLaboklab(70.85% -0.0335 0.1048)
OKLCHoklch(70.85% 0.11 107.7)
XYZxyz(31.1968, 36.1626, 12.7323)
Luminance0.3616 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A64F #4F51A8
analogous
#A8794F #A8A64F #7DA84F
triadic
#A8A64F #4FA8A6 #A64FA8
tetradic
#A8A64F #4FA879 #4F51A8 #A84F7D
square
#A8A64F #4FA879 #4F51A8 #A84F7D
split-complementary
#A8A64F #4F7DA8 #794FA8
monochromatic
#555428 #7E7D3B #A8A64F #BEBD76 #D2D19F

Accessibility & contrast

On white

2.55
#A8A64F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#A8A64F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A64F
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A64F#FFFFFF#000000##000000
##A8A64F1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A047
Deuteranopia (green-blind)
#B4A453
Tritanopia (blue-blind)
#B39D92
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a8a64f;
/* rgb */ color: rgb(168, 166, 79);
/* oklch */ color: oklch(70.9% 0.110 107.7);
Tailwind
colors: {
  custom: {
    50: '#c4c083',
    500: '#a8a64f',
    950: '#000000',
  },
}
SCSS
$custom: #a8a64f;
$custom-light: #c4c083;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a64f",
  "rgb": {
    "r": 168,
    "g": 166,
    "b": 79
  },
  "hsl": {
    "h": 58.652,
    "s": 36.032,
    "l": 48.431
  },
  "oklch": {
    "l": 0.70852,
    "c": 0.11002,
    "h": 107.7
  },
  "luminance": 0.36162
}

Semantic roles & 50–950 ramp

primary
#A8A64F
secondary
#9495BF
accent
#5ECC5C
background
#FCFBF8
surface
#F8F7EF
border
#D1D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #A8A64F

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

Preview Lab → · Contrast checker → · Palette generator →

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