#A8A146#A8A146

#A8A146 is a light, moderate yellow. Relative luminance 0.343; OKLCH L 69.6% C 0.113 H 104.9°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#A8A146
RGBrgb(168, 161, 70)
HSLhsl(56, 41%, 47%)
HSVhsv(56, 58%, 66%)
CMYKcmyk(0%, 4.2%, 58.3%, 34.1%)
CIE-LABlab(65.17, -9.42, 47.29)
CIE-LCHlch(65.17, 48.22, 101.27°)
OKLaboklab(69.65% -0.0291 0.1094)
OKLCHoklch(69.65% 0.113 104.9)
XYZxyz(29.9998, 34.2578, 10.8253)
Luminance0.3426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A146 #464DA8
analogous
#A87046 #A8A146 #7EA846
triadic
#A8A146 #46A8A1 #A146A8
tetradic
#A8A146 #46A870 #464DA8 #A8467E
square
#A8A146 #46A870 #464DA8 #A8467E
split-complementary
#A8A146 #467EA8 #7046A8
monochromatic
#524E22 #7D7834 #A8A146 #C1BB6A #D3CF95

Accessibility & contrast

On white

2.67
#A8A146 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#A8A146 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A146
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A146#FFFFFF#000000##000000
##A8A1461.002.677.857.85
#FFFFFF2.671.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8a146;
/* rgb */ color: rgb(168, 161, 70);
/* oklch */ color: oklch(69.6% 0.113 104.9);
Tailwind
colors: {
  custom: {
    50: '#c4bc7d',
    500: '#a8a146',
    950: '#000000',
  },
}
SCSS
$custom: #a8a146;
$custom-light: #c4bc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a146",
  "rgb": {
    "r": 168,
    "g": 161,
    "b": 70
  },
  "hsl": {
    "h": 55.714,
    "s": 41.176,
    "l": 46.667
  },
  "oklch": {
    "l": 0.69646,
    "c": 0.11316,
    "h": 104.9
  },
  "luminance": 0.34257
}

Semantic roles & 50–950 ramp

primary
#A8A146
secondary
#8B8FBF
accent
#60D157
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #A8A146

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

Preview Lab → · Contrast checker → · Palette generator →

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