#A7992B#A7992B

#A7992B is a light, vivid yellow. Relative luminance 0.312; OKLCH L 67.6% C 0.126 H 101.8°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#A7992B
RGBrgb(167, 153, 43)
HSLhsl(53, 59%, 41%)
HSVhsv(53, 74%, 65%)
CMYKcmyk(0%, 8.4%, 74.3%, 34.5%)
CIE-LABlab(62.65, -7.27, 56.11)
CIE-LCHlch(62.65, 56.57, 97.38°)
OKLaboklab(67.56% -0.0259 0.1237)
OKLCHoklch(67.56% 0.126 101.8)
XYZxyz(27.7649, 31.1736, 6.8397)
Luminance0.3117 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7992B #2B39A7
analogous
#A75B2B #A7992B #77A72B
triadic
#A7992B #2BA799 #992BA7
tetradic
#A7992B #2BA75B #2B39A7 #A72B77
square
#A7992B #2BA75B #2B39A7 #A72B77
split-complementary
#A7992B #2B77A7 #5B2BA7
monochromatic
#464012 #766C1E #A7992B #CEBE41 #DBCF72

Accessibility & contrast

On white

2.90
#A7992B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#A7992B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7992B
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7992B#FFFFFF#000000##000000
##A7992B1.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89417
Deuteranopia (green-blind)
#AC9A33
Tritanopia (blue-blind)
#B48E84
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a7992b;
/* rgb */ color: rgb(167, 153, 43);
/* oklch */ color: oklch(67.6% 0.126 101.8);
Tailwind
colors: {
  custom: {
    50: '#c5b66c',
    500: '#a7992b',
    950: '#000000',
  },
}
SCSS
$custom: #a7992b;
$custom-light: #c5b66c;
$custom-dark: #000000;
JSON
{
  "hex": "#a7992b",
  "rgb": {
    "r": 167,
    "g": 153,
    "b": 43
  },
  "hsl": {
    "h": 53.226,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.67558,
    "c": 0.1264,
    "h": 101.8
  },
  "luminance": 0.31172
}

Semantic roles & 50–950 ramp

primary
#A7992B
secondary
#6C76C2
accent
#57E246
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #A7992B

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

Preview Lab → · Contrast checker → · Palette generator →

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