#A7991F#A7991F

#A7991F is a light, vivid yellow. Relative luminance 0.311; OKLCH L 67.5% C 0.133 H 102.3°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#A7991F
RGBrgb(167, 153, 31)
HSLhsl(54, 69%, 39%)
HSVhsv(54, 81%, 65%)
CMYKcmyk(0%, 8.4%, 81.4%, 34.5%)
CIE-LABlab(62.59, -7.75, 60.05)
CIE-LCHlch(62.59, 60.55, 97.35°)
OKLaboklab(67.49% -0.0284 0.1298)
OKLCHoklch(67.49% 0.133 102.3)
XYZxyz(27.5762, 31.0981, 5.8461)
Luminance0.3110 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7991F #1F2DA7
analogous
#A7551F #A7991F #71A71F
triadic
#A7991F #1FA799 #991FA7
tetradic
#A7991F #1FA755 #1F2DA7 #A71F71
square
#A7991F #1FA755 #1F2DA7 #A71F71
split-complementary
#A7991F #1F71A7 #551FA7
monochromatic
#403A0C #736A15 #A7991F #D8C62B #E1D45F

Accessibility & contrast

On white

2.91
#A7991F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#A7991F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7991F
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7991F#FFFFFF#000000##000000
##A7991F1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#AC9A29
Tritanopia (blue-blind)
#B48D83
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a7991f;
/* rgb */ color: rgb(167, 153, 31);
/* oklch */ color: oklch(67.5% 0.133 102.3);
Tailwind
colors: {
  custom: {
    50: '#c5b667',
    500: '#a7991f',
    950: '#000000',
  },
}
SCSS
$custom: #a7991f;
$custom-light: #c5b667;
$custom-dark: #000000;
JSON
{
  "hex": "#a7991f",
  "rgb": {
    "r": 167,
    "g": 153,
    "b": 31
  },
  "hsl": {
    "h": 53.824,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.67487,
    "c": 0.13284,
    "h": 102.3
  },
  "luminance": 0.31097
}

Semantic roles & 50–950 ramp

primary
#A7991F
secondary
#5C67C6
accent
#4EEC3C
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #A7991F

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

Preview Lab → · Contrast checker → · Palette generator →

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