#A8A246#A8A246

#A8A246 is a light, moderate yellow. Relative luminance 0.346; OKLCH L 69.9% C 0.114 H 105.5°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#A8A246
RGBrgb(168, 162, 70)
HSLhsl(56, 41%, 47%)
HSVhsv(56, 58%, 66%)
CMYKcmyk(0%, 3.6%, 58.3%, 34.1%)
CIE-LABlab(65.44, -9.95, 47.60)
CIE-LCHlch(65.44, 48.63, 101.81°)
OKLaboklab(69.87% -0.0306 0.11)
OKLCHoklch(69.87% 0.114 105.5)
XYZxyz(30.1752, 34.6087, 10.8838)
Luminance0.3461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A246 #464CA8
analogous
#A87146 #A8A246 #7DA846
triadic
#A8A246 #46A8A2 #A246A8
tetradic
#A8A246 #46A871 #464CA8 #A8467D
square
#A8A246 #46A871 #464CA8 #A8467D
split-complementary
#A8A246 #467DA8 #7146A8
monochromatic
#524F22 #7D7834 #A8A246 #C1BC6A #D3CF95

Accessibility & contrast

On white

2.65
#A8A246 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#A8A246 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A246
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A246#FFFFFF#000000##000000
##A8A2461.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9D3C
Deuteranopia (green-blind)
#B1A14B
Tritanopia (blue-blind)
#B3988E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a8a246;
/* rgb */ color: rgb(168, 162, 70);
/* oklch */ color: oklch(69.9% 0.114 105.5);
Tailwind
colors: {
  custom: {
    50: '#c4bd7d',
    500: '#a8a246',
    950: '#000000',
  },
}
SCSS
$custom: #a8a246;
$custom-light: #c4bd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a246",
  "rgb": {
    "r": 168,
    "g": 162,
    "b": 70
  },
  "hsl": {
    "h": 56.327,
    "s": 41.176,
    "l": 46.667
  },
  "oklch": {
    "l": 0.69866,
    "c": 0.1142,
    "h": 105.5
  },
  "luminance": 0.34608
}

Semantic roles & 50–950 ramp

primary
#A8A246
secondary
#8B8EBF
accent
#5ED157
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #A8A246

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

Preview Lab → · Contrast checker → · Palette generator →

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