#A8A04E#A8A04E

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

Color values

HEX#A8A04E
RGBrgb(168, 160, 78)
HSLhsl(55, 37%, 48%)
HSVhsv(55, 54%, 66%)
CMYKcmyk(0%, 4.8%, 53.6%, 34.1%)
CIE-LABlab(64.98, -8.24, 43.23)
CIE-LCHlch(64.98, 44.01, 100.80°)
OKLaboklab(69.52% -0.0248 0.1016)
OKLCHoklch(69.52% 0.105 103.7)
XYZxyz(30.0953, 34.0175, 12.1870)
Luminance0.3402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A04E #4E56A8
analogous
#A8734E #A8A04E #83A84E
triadic
#A8A04E #4EA8A0 #A04EA8
tetradic
#A8A04E #4EA873 #4E56A8 #A84E83
square
#A8A04E #4EA873 #4E56A8 #A84E83
split-complementary
#A8A04E #4E83A8 #734EA8
monochromatic
#545027 #7E783B #A8A04E #BFB875 #D2CD9E

Accessibility & contrast

On white

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

On black

7.80
#A8A04E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A04E
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A04E#FFFFFF#000000##000000
##A8A04E1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9B46
Deuteranopia (green-blind)
#AFA052
Tritanopia (blue-blind)
#B3978D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a8a04e;
/* rgb */ color: rgb(168, 160, 78);
/* oklch */ color: oklch(69.5% 0.105 103.7);
Tailwind
colors: {
  custom: {
    50: '#c4bb82',
    500: '#a8a04e',
    950: '#000000',
  },
}
SCSS
$custom: #a8a04e;
$custom-light: #c4bb82;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a04e",
  "rgb": {
    "r": 168,
    "g": 160,
    "b": 78
  },
  "hsl": {
    "h": 54.667,
    "s": 36.585,
    "l": 48.235
  },
  "oklch": {
    "l": 0.69522,
    "c": 0.10453,
    "h": 103.7
  },
  "luminance": 0.34017
}

Semantic roles & 50–950 ramp

primary
#A8A04E
secondary
#9397BF
accent
#65CD5B
background
#FCFBF8
surface
#F8F6EF
border
#D1D0CA
text
#13110B
muted
#82807C

Preview Lab

Preview with #A8A04E

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

Preview Lab → · Contrast checker → · Palette generator →

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