#A7962A#A7962A

#A7962A is a light, vivid yellow. Relative luminance 0.302; OKLCH L 66.9% C 0.125 H 100.0°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#A7962A
RGBrgb(167, 150, 42)
HSLhsl(52, 60%, 41%)
HSVhsv(52, 75%, 65%)
CMYKcmyk(0%, 10.2%, 74.9%, 34.5%)
CIE-LABlab(61.82, -5.70, 55.68)
CIE-LCHlch(61.82, 55.97, 95.85°)
OKLaboklab(66.9% -0.0216 0.1226)
OKLCHoklch(66.9% 0.125 100)
XYZxyz(27.2619, 30.1967, 6.5826)
Luminance0.3019 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7962A #2A3BA7
analogous
#A7572A #A7962A #79A72A
triadic
#A7962A #2AA796 #962AA7
tetradic
#A7962A #2AA757 #2A3BA7 #A72A79
square
#A7962A #2AA757 #2A3BA7 #A72A79
split-complementary
#A7962A #2A79A7 #572AA7
monochromatic
#453E11 #766A1E #A7962A #CFBB3F #DBCD70

Accessibility & contrast

On white

2.98
#A7962A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#A7962A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7962A
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7962A#FFFFFF#000000##000000
##A7962A1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59216
Deuteranopia (green-blind)
#A99831
Tritanopia (blue-blind)
#B48B81
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a7962a;
/* rgb */ color: rgb(167, 150, 42);
/* oklch */ color: oklch(66.9% 0.125 100.0);
Tailwind
colors: {
  custom: {
    50: '#c5b46c',
    500: '#a7962a',
    950: '#000000',
  },
}
SCSS
$custom: #a7962a;
$custom-light: #c5b46c;
$custom-dark: #000000;
JSON
{
  "hex": "#a7962a",
  "rgb": {
    "r": 167,
    "g": 150,
    "b": 42
  },
  "hsl": {
    "h": 51.84,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.66896,
    "c": 0.12452,
    "h": 100
  },
  "luminance": 0.30195
}

Semantic roles & 50–950 ramp

primary
#A7962A
secondary
#6B77C2
accent
#5AE345
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #A7962A

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

Preview Lab → · Contrast checker → · Palette generator →

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