#A8A04F#A8A04F

#A8A04F is a light, moderate yellow. Relative luminance 0.340; OKLCH L 69.5% C 0.104 H 103.6°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#A8A04F
RGBrgb(168, 160, 79)
HSLhsl(55, 36%, 48%)
HSVhsv(55, 53%, 66%)
CMYKcmyk(0%, 4.8%, 53%, 34.1%)
CIE-LABlab(64.99, -8.16, 42.75)
CIE-LCHlch(64.99, 43.52, 100.80°)
OKLaboklab(69.54% -0.0244 0.1006)
OKLCHoklch(69.54% 0.104 103.6)
XYZxyz(30.1314, 34.0319, 12.3772)
Luminance0.3403 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A04F #4F57A8
analogous
#A8734F #A8A04F #83A84F
triadic
#A8A04F #4FA8A0 #A04FA8
tetradic
#A8A04F #4FA873 #4F57A8 #A84F83
square
#A8A04F #4FA873 #4F57A8 #A84F83
split-complementary
#A8A04F #4F83A8 #734FA8
monochromatic
#555128 #7E783B #A8A04F #BEB876 #D2CD9F

Accessibility & contrast

On white

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

On black

7.81
#A8A04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A04F
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A04F#FFFFFF#000000##000000
##A8A04F1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9B47
Deuteranopia (green-blind)
#AFA053
Tritanopia (blue-blind)
#B3978E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a8a04f;
/* rgb */ color: rgb(168, 160, 79);
/* oklch */ color: oklch(69.5% 0.104 103.6);
Tailwind
colors: {
  custom: {
    50: '#c4bb83',
    500: '#a8a04f',
    950: '#000000',
  },
}
SCSS
$custom: #a8a04f;
$custom-light: #c4bb83;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a04f",
  "rgb": {
    "r": 168,
    "g": 160,
    "b": 79
  },
  "hsl": {
    "h": 54.607,
    "s": 36.032,
    "l": 48.431
  },
  "oklch": {
    "l": 0.69535,
    "c": 0.10353,
    "h": 103.6
  },
  "luminance": 0.34031
}

Semantic roles & 50–950 ramp

primary
#A8A04F
secondary
#9498BF
accent
#66CC5C
background
#FCFBF8
surface
#F8F6EF
border
#D1D0CA
text
#13110B
muted
#82807C

Preview Lab

Preview with #A8A04F

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

Preview Lab → · Contrast checker → · Palette generator →

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