#A7A41F#A7A41F

#A7A41F is a light, vivid yellow. Relative luminance 0.349; OKLCH L 69.9% C 0.143 H 108.2°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#A7A41F
RGBrgb(167, 164, 31)
HSLhsl(59, 69%, 39%)
HSVhsv(59, 81%, 65%)
CMYKcmyk(0%, 1.8%, 81.4%, 34.5%)
CIE-LABlab(65.64, -13.54, 62.70)
CIE-LCHlch(65.64, 64.15, 102.18°)
OKLaboklab(69.92% -0.0445 0.1355)
OKLCHoklch(69.92% 0.143 108.2)
XYZxyz(29.4603, 34.8663, 6.4741)
Luminance0.3487 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A41F #1F22A7
analogous
#A7601F #A7A41F #66A71F
triadic
#A7A41F #1FA7A4 #A41FA7
tetradic
#A7A41F #1FA760 #1F22A7 #A71F66
square
#A7A41F #1FA760 #1F22A7 #A71F66
split-complementary
#A7A41F #1F66A7 #601FA7
monochromatic
#403F0C #737115 #A7A41F #D8D42B #E1DE5F

Accessibility & contrast

On white

2.63
#A7A41F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#A7A41F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A41F
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A41F#FFFFFF#000000##000000
##A7A41F1.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#B4A12B
Tritanopia (blue-blind)
#B4998C
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a7a41f;
/* rgb */ color: rgb(167, 164, 31);
/* oklch */ color: oklch(69.9% 0.143 108.2);
Tailwind
colors: {
  custom: {
    50: '#c5be68',
    500: '#a7a41f',
    950: '#000000',
  },
}
SCSS
$custom: #a7a41f;
$custom-light: #c5be68;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a41f",
  "rgb": {
    "r": 167,
    "g": 164,
    "b": 31
  },
  "hsl": {
    "h": 58.676,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.6992,
    "c": 0.14264,
    "h": 108.2
  },
  "luminance": 0.34865
}

Semantic roles & 50–950 ramp

primary
#A7A41F
secondary
#5C5EC6
accent
#40EC3C
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #A7A41F

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

Preview Lab → · Contrast checker → · Palette generator →

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