#A7941F#A7941F

#A7941F is a light, vivid yellow. Relative luminance 0.295; OKLCH L 66.4% C 0.129 H 99.3°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#A7941F
RGBrgb(167, 148, 31)
HSLhsl(52, 69%, 39%)
HSVhsv(52, 81%, 65%)
CMYKcmyk(0%, 11.4%, 81.4%, 34.5%)
CIE-LABlab(61.22, -5.06, 58.85)
CIE-LCHlch(61.22, 59.07, 94.92°)
OKLaboklab(66.4% -0.0208 0.1272)
OKLCHoklch(66.4% 0.129 99.3)
XYZxyz(26.7750, 29.4956, 5.5790)
Luminance0.2949 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7941F #1F32A7
analogous
#A7501F #A7941F #76A71F
triadic
#A7941F #1FA794 #941FA7
tetradic
#A7941F #1FA750 #1F32A7 #A71F76
square
#A7941F #1FA750 #1F32A7 #A71F76
split-complementary
#A7941F #1F76A7 #501FA7
monochromatic
#40390C #736615 #A7941F #D8C02B #E1CF5F

Accessibility & contrast

On white

3.04
#A7941F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#A7941F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A7941F
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7941F#FFFFFF#000000##000000
##A7941F1.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39000
Deuteranopia (green-blind)
#A89728
Tritanopia (blue-blind)
#B5887F
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a7941f;
/* rgb */ color: rgb(167, 148, 31);
/* oklch */ color: oklch(66.4% 0.129 99.3);
Tailwind
colors: {
  custom: {
    50: '#c5b366',
    500: '#a7941f',
    950: '#000000',
  },
}
SCSS
$custom: #a7941f;
$custom-light: #c5b366;
$custom-dark: #000000;
JSON
{
  "hex": "#a7941f",
  "rgb": {
    "r": 167,
    "g": 148,
    "b": 31
  },
  "hsl": {
    "h": 51.618,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.66396,
    "c": 0.12887,
    "h": 99.3
  },
  "luminance": 0.29494
}

Semantic roles & 50–950 ramp

primary
#A7941F
secondary
#5C6BC6
accent
#55EC3C
background
#FCFAF6
surface
#F9F5EB
border
#D2CFC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #A7941F

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

Preview Lab → · Contrast checker → · Palette generator →

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