#A8962A#A8962A

#A8962A is a light, vivid yellow. Relative luminance 0.303; OKLCH L 67.0% C 0.125 H 99.4°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#A8962A
RGBrgb(168, 150, 42)
HSLhsl(51, 60%, 41%)
HSVhsv(51, 75%, 66%)
CMYKcmyk(0%, 10.7%, 75%, 34.1%)
CIE-LABlab(61.92, -5.25, 55.81)
CIE-LCHlch(61.92, 56.05, 95.38°)
OKLaboklab(66.99% -0.0204 0.1229)
OKLCHoklch(66.99% 0.125 99.4)
XYZxyz(27.4740, 30.3060, 6.5925)
Luminance0.3030 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8962A #2A3CA8
analogous
#A8572A #A8962A #7BA82A
triadic
#A8962A #2AA896 #962AA8
tetradic
#A8962A #2AA857 #2A3CA8 #A82A7B
square
#A8962A #2AA857 #2A3CA8 #A82A7B
split-complementary
#A8962A #2A7BA8 #572AA8
monochromatic
#463F12 #776A1E #A8962A #CFBB40 #DBCC71

Accessibility & contrast

On white

2.97
#A8962A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#A8962A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8962A
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8962A#FFFFFF#000000##000000
##A8962A1.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59216
Deuteranopia (green-blind)
#AA9831
Tritanopia (blue-blind)
#B58B81
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a8962a;
/* rgb */ color: rgb(168, 150, 42);
/* oklch */ color: oklch(67.0% 0.125 99.4);
Tailwind
colors: {
  custom: {
    50: '#c6b46c',
    500: '#a8962a',
    950: '#000000',
  },
}
SCSS
$custom: #a8962a;
$custom-light: #c6b46c;
$custom-dark: #000000;
JSON
{
  "hex": "#a8962a",
  "rgb": {
    "r": 168,
    "g": 150,
    "b": 42
  },
  "hsl": {
    "h": 51.429,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.66993,
    "c": 0.12453,
    "h": 99.4
  },
  "luminance": 0.30305
}

Semantic roles & 50–950 ramp

primary
#A8962A
secondary
#6B78C3
accent
#5BE345
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #A8962A

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

Preview Lab → · Contrast checker → · Palette generator →

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