#A8A262#A8A262

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

Color values

HEX#A8A262
RGBrgb(168, 162, 98)
HSLhsl(55, 29%, 52%)
HSVhsv(55, 42%, 66%)
CMYKcmyk(0%, 3.6%, 41.7%, 34.1%)
CIE-LABlab(65.79, -7.34, 34.02)
CIE-LCHlch(65.79, 34.80, 102.18°)
OKLaboklab(70.25% -0.0202 0.0827)
OKLCHoklch(70.25% 0.085 103.7)
XYZxyz(31.2740, 35.0482, 16.6704)
Luminance0.3505 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A262 #6268A8
analogous
#A87F62 #A8A262 #8BA862
triadic
#A8A262 #62A8A2 #A262A8
tetradic
#A8A262 #62A87F #6268A8 #A8628B
square
#A8A262 #62A87F #6268A8 #A8628B
split-complementary
#A8A262 #628BA8 #7F62A8
monochromatic
#5C5933 #847F49 #A8A262 #BEB989 #D4D1B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8A262#FFFFFF#000000##000000
##A8A2621.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)
#AC9E5D
Deuteranopia (green-blind)
#AFA165
Tritanopia (blue-blind)
#B19A92
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a8a262;
/* rgb */ color: rgb(168, 162, 98);
/* oklch */ color: oklch(70.2% 0.085 103.7);
Tailwind
colors: {
  custom: {
    50: '#c3bd8f',
    500: '#a8a262',
    950: '#000000',
  },
}
SCSS
$custom: #a8a262;
$custom-light: #c3bd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a262",
  "rgb": {
    "r": 168,
    "g": 162,
    "b": 98
  },
  "hsl": {
    "h": 54.857,
    "s": 28.689,
    "l": 52.157
  },
  "oklch": {
    "l": 0.70249,
    "c": 0.08512,
    "h": 103.7
  },
  "luminance": 0.35047
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A8A262

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

Preview Lab → · Contrast checker → · Palette generator →

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