#A7A440#A7A440

#A7A440 is a light, vivid yellow. Relative luminance 0.351; OKLCH L 70.2% C 0.122 H 107.5°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#A7A440
RGBrgb(167, 164, 64)
HSLhsl(58, 45%, 45%)
HSVhsv(58, 62%, 65%)
CMYKcmyk(0%, 1.8%, 61.7%, 34.5%)
CIE-LABlab(65.86, -11.87, 50.76)
CIE-LCHlch(65.86, 52.13, 103.16°)
OKLaboklab(70.16% -0.0366 0.116)
OKLCHoklch(70.16% 0.122 107.5)
XYZxyz(30.1382, 35.1375, 10.0441)
Luminance0.3514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A440 #4043A7
analogous
#A77040 #A7A440 #77A740
triadic
#A7A440 #40A7A4 #A440A7
tetradic
#A7A440 #40A770 #4043A7 #A74077
square
#A7A440 #40A770 #4043A7 #A74077
split-complementary
#A7A440 #4077A7 #7040A7
monochromatic
#4F4D1E #7B792F #A7A440 #C3C062 #D4D28E

Accessibility & contrast

On white

2.62
#A7A440 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#A7A440 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A440
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A440#FFFFFF#000000##000000
##A7A4401.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E34
Deuteranopia (green-blind)
#B3A246
Tritanopia (blue-blind)
#B29A8F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a7a440;
/* rgb */ color: rgb(167, 164, 64);
/* oklch */ color: oklch(70.2% 0.122 107.5);
Tailwind
colors: {
  custom: {
    50: '#c4be79',
    500: '#a7a440',
    950: '#000000',
  },
}
SCSS
$custom: #a7a440;
$custom-light: #c4be79;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a440",
  "rgb": {
    "r": 167,
    "g": 164,
    "b": 64
  },
  "hsl": {
    "h": 58.252,
    "s": 44.589,
    "l": 45.294
  },
  "oklch": {
    "l": 0.70156,
    "c": 0.12162,
    "h": 107.5
  },
  "luminance": 0.35137
}

Semantic roles & 50–950 ramp

primary
#A7A440
secondary
#8486BF
accent
#57D454
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #A7A440

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

Preview Lab → · Contrast checker → · Palette generator →

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