#A8A256#A8A256

#A8A256 is a light, moderate yellow. Relative luminance 0.348; OKLCH L 70.1% C 0.098 H 104.6°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#A8A256
RGBrgb(168, 162, 86)
HSLhsl(56, 32%, 50%)
HSVhsv(56, 49%, 66%)
CMYKcmyk(0%, 3.6%, 48.8%, 34.1%)
CIE-LABlab(65.62, -8.58, 40.01)
CIE-LCHlch(65.62, 40.92, 102.10°)
OKLaboklab(70.07% -0.0249 0.0953)
OKLCHoklch(70.07% 0.098 104.6)
XYZxyz(30.7493, 34.8383, 13.9070)
Luminance0.3484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A256 #565CA8
analogous
#A87956 #A8A256 #85A856
triadic
#A8A256 #56A8A2 #A256A8
tetradic
#A8A256 #56A879 #565CA8 #A85685
square
#A8A256 #56A879 #565CA8 #A85685
split-complementary
#A8A256 #5685A8 #7956A8
monochromatic
#57542D #807B41 #A8A256 #BDB87E #D2CFA7

Accessibility & contrast

On white

2.64
#A8A256 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#A8A256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A256
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A256#FFFFFF#000000##000000
##A8A2561.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9D4F
Deuteranopia (green-blind)
#B0A159
Tritanopia (blue-blind)
#B29990
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a8a256;
/* rgb */ color: rgb(168, 162, 86);
/* oklch */ color: oklch(70.1% 0.098 104.6);
Tailwind
colors: {
  custom: {
    50: '#c3bd87',
    500: '#a8a256',
    950: '#000000',
  },
}
SCSS
$custom: #a8a256;
$custom-light: #c3bd87;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a256",
  "rgb": {
    "r": 168,
    "g": 162,
    "b": 86
  },
  "hsl": {
    "h": 55.61,
    "s": 32.283,
    "l": 49.804
  },
  "oklch": {
    "l": 0.70067,
    "c": 0.09844,
    "h": 104.6
  },
  "luminance": 0.34837
}

Semantic roles & 50–950 ramp

primary
#A8A256
secondary
#9A9DBF
accent
#67C85F
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120B
muted
#82817C

Preview Lab

Preview with #A8A256

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

Preview Lab → · Contrast checker → · Palette generator →

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