#A7A641#A7A641

#A7A641 is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.6% C 0.123 H 108.6°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#A7A641
RGBrgb(167, 166, 65)
HSLhsl(59, 44%, 45%)
HSVhsv(59, 61%, 65%)
CMYKcmyk(0%, 0.6%, 61.1%, 34.5%)
CIE-LABlab(66.42, -12.85, 50.93)
CIE-LCHlch(66.42, 52.52, 104.16°)
OKLaboklab(70.61% -0.0393 0.1165)
OKLCHoklch(70.61% 0.123 108.6)
XYZxyz(30.5276, 35.8704, 10.3156)
Luminance0.3587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A641 #4142A7
analogous
#A77341 #A7A641 #75A741
triadic
#A7A641 #41A7A6 #A641A7
tetradic
#A7A641 #41A773 #4142A7 #A74175
square
#A7A641 #41A773 #4142A7 #A74175
split-complementary
#A7A641 #4175A7 #7341A7
monochromatic
#4F4E1F #7B7A30 #A7A641 #C2C163 #D3D38F

Accessibility & contrast

On white

2.57
#A7A641 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#A7A641 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A641
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A641#FFFFFF#000000##000000
##A7A6411.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A035
Deuteranopia (green-blind)
#B4A347
Tritanopia (blue-blind)
#B29C91
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a7a641;
/* rgb */ color: rgb(167, 166, 65);
/* oklch */ color: oklch(70.6% 0.123 108.6);
Tailwind
colors: {
  custom: {
    50: '#c4c07a',
    500: '#a7a641',
    950: '#000000',
  },
}
SCSS
$custom: #a7a641;
$custom-light: #c4c07a;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a641",
  "rgb": {
    "r": 167,
    "g": 166,
    "b": 65
  },
  "hsl": {
    "h": 59.412,
    "s": 43.966,
    "l": 45.49
  },
  "oklch": {
    "l": 0.70609,
    "c": 0.12292,
    "h": 108.6
  },
  "luminance": 0.3587
}

Semantic roles & 50–950 ramp

primary
#A7A641
secondary
#8586BF
accent
#55D454
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #A7A641

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

Preview Lab → · Contrast checker → · Palette generator →

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