#A7952A#A7952A

#A7952A is a light, vivid yellow. Relative luminance 0.299; OKLCH L 66.7% C 0.124 H 99.3°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#A7952A
RGBrgb(167, 149, 42)
HSLhsl(51, 60%, 41%)
HSVhsv(51, 75%, 65%)
CMYKcmyk(0%, 10.8%, 74.9%, 34.5%)
CIE-LABlab(61.55, -5.16, 55.42)
CIE-LCHlch(61.55, 55.66, 95.32°)
OKLaboklab(66.68% -0.0201 0.1221)
OKLCHoklch(66.68% 0.124 99.3)
XYZxyz(27.1030, 29.8789, 6.5296)
Luminance0.2988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7952A #2A3CA7
analogous
#A7562A #A7952A #7AA72A
triadic
#A7952A #2AA795 #952AA7
tetradic
#A7952A #2AA756 #2A3CA7 #A72A7A
square
#A7952A #2AA756 #2A3CA7 #A72A7A
split-complementary
#A7952A #2A7AA7 #562AA7
monochromatic
#453E11 #76691E #A7952A #CFBA3F #DBCC70

Accessibility & contrast

On white

3.01
#A7952A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#A7952A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A7952A
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7952A#FFFFFF#000000##000000
##A7952A1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49117
Deuteranopia (green-blind)
#A99731
Tritanopia (blue-blind)
#B48A80
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a7952a;
/* rgb */ color: rgb(167, 149, 42);
/* oklch */ color: oklch(66.7% 0.124 99.3);
Tailwind
colors: {
  custom: {
    50: '#c5b36c',
    500: '#a7952a',
    950: '#000000',
  },
}
SCSS
$custom: #a7952a;
$custom-light: #c5b36c;
$custom-dark: #000000;
JSON
{
  "hex": "#a7952a",
  "rgb": {
    "r": 167,
    "g": 149,
    "b": 42
  },
  "hsl": {
    "h": 51.36,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.66679,
    "c": 0.12371,
    "h": 99.3
  },
  "luminance": 0.29878
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A7952A

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

Preview Lab → · Contrast checker → · Palette generator →

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