#A8A261#A8A261

#A8A261 is a light, moderate yellow. Relative luminance 0.350; OKLCH L 70.2% C 0.086 H 103.8°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#A8A261
RGBrgb(168, 162, 97)
HSLhsl(55, 29%, 52%)
HSVhsv(55, 42%, 66%)
CMYKcmyk(0%, 3.6%, 42.3%, 34.1%)
CIE-LABlab(65.77, -7.45, 34.52)
CIE-LCHlch(65.77, 35.32, 102.18°)
OKLaboklab(70.23% -0.0206 0.0838)
OKLCHoklch(70.23% 0.086 103.8)
XYZxyz(31.2270, 35.0294, 16.4233)
Luminance0.3503 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A261 #6167A8
analogous
#A87F61 #A8A261 #8BA861
triadic
#A8A261 #61A8A2 #A261A8
tetradic
#A8A261 #61A87F #6167A8 #A8618B
square
#A8A261 #61A87F #6167A8 #A8618B
split-complementary
#A8A261 #618BA8 #7F61A8
monochromatic
#5C5833 #837E48 #A8A261 #BEB988 #D3D0B0

Accessibility & contrast

On white

2.62
#A8A261 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#A8A261 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A261
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A261#FFFFFF#000000##000000
##A8A2611.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9E5C
Deuteranopia (green-blind)
#AFA164
Tritanopia (blue-blind)
#B29A92
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a8a261;
/* rgb */ color: rgb(168, 162, 97);
/* oklch */ color: oklch(70.2% 0.086 103.8);
Tailwind
colors: {
  custom: {
    50: '#c3bd8f',
    500: '#a8a261',
    950: '#000000',
  },
}
SCSS
$custom: #a8a261;
$custom-light: #c3bd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a261",
  "rgb": {
    "r": 168,
    "g": 162,
    "b": 97
  },
  "hsl": {
    "h": 54.93,
    "s": 28.98,
    "l": 51.961
  },
  "oklch": {
    "l": 0.70233,
    "c": 0.08628,
    "h": 103.8
  },
  "luminance": 0.35029
}

Semantic roles & 50–950 ramp

primary
#A8A261
secondary
#A3A5C2
accent
#6BC563
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #A8A261

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

Preview Lab → · Contrast checker → · Palette generator →

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