#A7AA38#A7AA38

#A7AA38 is a light, vivid yellow. Relative luminance 0.372; OKLCH L 71.4% C 0.134 H 110.8°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#A7AA38
RGBrgb(167, 170, 56)
HSLhsl(62, 50%, 44%)
HSVhsv(62, 67%, 67%)
CMYKcmyk(1.8%, 0%, 67.1%, 33.3%)
CIE-LABlab(67.47, -15.49, 55.84)
CIE-LCHlch(67.47, 57.95, 105.51°)
OKLaboklab(71.42% -0.0477 0.1255)
OKLCHoklch(71.42% 0.134 110.8)
XYZxyz(31.0259, 37.2513, 9.2965)
Luminance0.3725 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7AA38 #3B38AA
analogous
#AA7438 #A7AA38 #6EAA38
triadic
#A7AA38 #38A7AA #AA38A7
tetradic
#A7AA38 #38AA74 #3B38AA #AA386E
square
#A7AA38 #38AA74 #3B38AA #AA386E
split-complementary
#A7AA38 #386EAA #7438AA
monochromatic
#4D4E1A #7A7C29 #A7AA38 #C5C857 #D5D785

Accessibility & contrast

On white

2.49
#A7AA38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#A7AA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7AA38
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7AA38#FFFFFF#000000##000000
##A7AA381.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A328
Deuteranopia (green-blind)
#B8A640
Tritanopia (blue-blind)
#B2A093
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a7aa38;
/* rgb */ color: rgb(167, 170, 56);
/* oklch */ color: oklch(71.4% 0.134 110.8);
Tailwind
colors: {
  custom: {
    50: '#c4c375',
    500: '#a7aa38',
    950: '#000000',
  },
}
SCSS
$custom: #a7aa38;
$custom-light: #c4c375;
$custom-dark: #000000;
JSON
{
  "hex": "#a7aa38",
  "rgb": {
    "r": 167,
    "g": 170,
    "b": 56
  },
  "hsl": {
    "h": 61.579,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.71419,
    "c": 0.13423,
    "h": 110.8
  },
  "luminance": 0.3725
}

Semantic roles & 50–950 ramp

primary
#A7AA38
secondary
#7F7DC1
accent
#4EDA52
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A7AA38

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

Preview Lab → · Contrast checker → · Palette generator →

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