#A8A762#A8A762

#A8A762 is a light, moderate yellow. Relative luminance 0.368; OKLCH L 71.3% C 0.091 H 107.8°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#A8A762
RGBrgb(168, 167, 98)
HSLhsl(59, 29%, 52%)
HSVhsv(59, 42%, 66%)
CMYKcmyk(0%, 0.6%, 41.7%, 34.1%)
CIE-LABlab(67.16, -9.99, 35.75)
CIE-LCHlch(67.16, 37.12, 105.61°)
OKLaboklab(71.34% -0.0278 0.0866)
OKLCHoklch(71.34% 0.091 107.8)
XYZxyz(32.1723, 36.8448, 16.9699)
Luminance0.3684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A762 #6263A8
analogous
#A88462 #A8A762 #86A862
triadic
#A8A762 #62A8A7 #A762A8
tetradic
#A8A762 #62A884 #6263A8 #A86286
square
#A8A762 #62A884 #6263A8 #A86286
split-complementary
#A8A762 #6286A8 #8462A8
monochromatic
#5C5C33 #848349 #A8A762 #BEBD89 #D4D3B1

Accessibility & contrast

On white

2.51
#A8A762 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#A8A762 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A762
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A762#FFFFFF#000000##000000
##A8A7621.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A25D
Deuteranopia (green-blind)
#B3A565
Tritanopia (blue-blind)
#B19F96
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a8a762;
/* rgb */ color: rgb(168, 167, 98);
/* oklch */ color: oklch(71.3% 0.091 107.8);
Tailwind
colors: {
  custom: {
    50: '#c3c190',
    500: '#a8a762',
    950: '#000000',
  },
}
SCSS
$custom: #a8a762;
$custom-light: #c3c190;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a762",
  "rgb": {
    "r": 168,
    "g": 167,
    "b": 98
  },
  "hsl": {
    "h": 59.143,
    "s": 28.689,
    "l": 52.157
  },
  "oklch": {
    "l": 0.71341,
    "c": 0.09095,
    "h": 107.8
  },
  "luminance": 0.36844
}

Semantic roles & 50–950 ramp

primary
#A8A762
secondary
#A4A4C2
accent
#64C563
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #A8A762

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

Preview Lab → · Contrast checker → · Palette generator →

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