#A7AF41#A7AF41

#A7AF41 is a light, vivid yellow. Relative luminance 0.393; OKLCH L 72.6% C 0.133 H 113.2°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#A7AF41
RGBrgb(167, 175, 65)
HSLhsl(64, 46%, 47%)
HSVhsv(64, 63%, 69%)
CMYKcmyk(4.6%, 0%, 62.9%, 31.4%)
CIE-LABlab(68.94, -17.47, 53.64)
CIE-LCHlch(68.94, 56.41, 108.05°)
OKLaboklab(72.62% -0.0523 0.1222)
OKLCHoklch(72.62% 0.133 113.2)
XYZxyz(32.2213, 39.2577, 10.8801)
Luminance0.3926 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7AF41 #4941AF
analogous
#AF8041 #A7AF41 #70AF41
triadic
#A7AF41 #41A7AF #AF41A7
tetradic
#A7AF41 #41AF80 #4941AF #AF4170
square
#A7AF41 #41AF80 #4941AF #AF4170
split-complementary
#A7AF41 #4170AF #8041AF
monochromatic
#525620 #7C8230 #A7AF41 #BFC667 #D2D793

Accessibility & contrast

On white

2.37
#A7AF41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#A7AF41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7AF41
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7AF41#FFFFFF#000000##000000
##A7AF411.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA733
Deuteranopia (green-blind)
#BBA948
Tritanopia (blue-blind)
#B2A598
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a7af41;
/* rgb */ color: rgb(167, 175, 65);
/* oklch */ color: oklch(72.6% 0.133 113.2);
Tailwind
colors: {
  custom: {
    50: '#c4c67b',
    500: '#a7af41',
    950: '#000000',
  },
}
SCSS
$custom: #a7af41;
$custom-light: #c4c67b;
$custom-dark: #000000;
JSON
{
  "hex": "#a7af41",
  "rgb": {
    "r": 167,
    "g": 175,
    "b": 65
  },
  "hsl": {
    "h": 64.364,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.72619,
    "c": 0.13294,
    "h": 113.2
  },
  "luminance": 0.39257
}

Semantic roles & 50–950 ramp

primary
#A7AF41
secondary
#8D89C2
accent
#52D55C
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A7AF41

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

Preview Lab → · Contrast checker → · Palette generator →

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