#A8A74C#A8A74C

#A8A74C is a light, moderate yellow. Relative luminance 0.365; OKLCH L 71.0% C 0.114 H 108.4°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#A8A74C
RGBrgb(168, 167, 76)
HSLhsl(59, 38%, 48%)
HSVhsv(59, 55%, 66%)
CMYKcmyk(0%, 0.6%, 54.8%, 34.1%)
CIE-LABlab(66.89, -12.10, 46.41)
CIE-LCHlch(66.89, 47.96, 104.61°)
OKLaboklab(71.04% -0.036 0.1082)
OKLCHoklch(71.04% 0.114 108.4)
XYZxyz(31.2725, 36.4849, 12.2310)
Luminance0.3648 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A74C #4C4DA8
analogous
#A8794C #A8A74C #7BA84C
triadic
#A8A74C #4CA8A7 #A74CA8
tetradic
#A8A74C #4CA879 #4C4DA8 #A84C7B
square
#A8A74C #4CA879 #4C4DA8 #A84C7B
split-complementary
#A8A74C #4C7BA8 #794CA8
monochromatic
#545326 #7E7D39 #A8A74C #BFBE72 #D2D29C

Accessibility & contrast

On white

2.53
#A8A74C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#A8A74C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A74C
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A74C#FFFFFF#000000##000000
##A8A74C1.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A143
Deuteranopia (green-blind)
#B5A451
Tritanopia (blue-blind)
#B39E93
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a8a74c;
/* rgb */ color: rgb(168, 167, 76);
/* oklch */ color: oklch(71.0% 0.114 108.4);
Tailwind
colors: {
  custom: {
    50: '#c4c181',
    500: '#a8a74c',
    950: '#000000',
  },
}
SCSS
$custom: #a8a74c;
$custom-light: #c4c181;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a74c",
  "rgb": {
    "r": 168,
    "g": 167,
    "b": 76
  },
  "hsl": {
    "h": 59.348,
    "s": 37.705,
    "l": 47.843
  },
  "oklch": {
    "l": 0.71037,
    "c": 0.11403,
    "h": 108.4
  },
  "luminance": 0.36484
}

Semantic roles & 50–950 ramp

primary
#A8A74C
secondary
#9191BF
accent
#5BCE5A
background
#FCFBF8
surface
#F8F7EF
border
#D1D0CA
text
#13120A
muted
#82817C

Preview Lab

Preview with #A8A74C

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

Preview Lab → · Contrast checker → · Palette generator →

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