#A7A438#A7A438

#A7A438 is a light, vivid yellow. Relative luminance 0.351; OKLCH L 70.1% C 0.128 H 107.7°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#A7A438
RGBrgb(167, 164, 56)
HSLhsl(58, 50%, 44%)
HSVhsv(58, 66%, 65%)
CMYKcmyk(0%, 1.8%, 66.5%, 34.5%)
CIE-LABlab(65.79, -12.39, 54.12)
CIE-LCHlch(65.79, 55.52, 102.89°)
OKLaboklab(70.08% -0.039 0.1218)
OKLCHoklch(70.08% 0.128 107.7)
XYZxyz(29.9267, 35.0529, 8.9301)
Luminance0.3505 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A438 #383BA7
analogous
#A76C38 #A7A438 #72A738
triadic
#A7A438 #38A7A4 #A438A7
tetradic
#A7A438 #38A76C #383BA7 #A73872
square
#A7A438 #38A76C #383BA7 #A73872
split-complementary
#A7A438 #3872A7 #6C38A7
monochromatic
#4B4A19 #797729 #A7A438 #C6C356 #D6D384

Accessibility & contrast

On white

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

On black

8.01
#A7A438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A438
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A438#FFFFFF#000000##000000
##A7A4381.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E29
Deuteranopia (green-blind)
#B3A23F
Tritanopia (blue-blind)
#B39A8E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a7a438;
/* rgb */ color: rgb(167, 164, 56);
/* oklch */ color: oklch(70.1% 0.128 107.7);
Tailwind
colors: {
  custom: {
    50: '#c4be75',
    500: '#a7a438',
    950: '#000000',
  },
}
SCSS
$custom: #a7a438;
$custom-light: #c4be75;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a438",
  "rgb": {
    "r": 167,
    "g": 164,
    "b": 56
  },
  "hsl": {
    "h": 58.378,
    "s": 49.776,
    "l": 43.725
  },
  "oklch": {
    "l": 0.70082,
    "c": 0.12792,
    "h": 107.7
  },
  "luminance": 0.35052
}

Semantic roles & 50–950 ramp

primary
#A7A438
secondary
#7B7DBF
accent
#52D94F
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A7A438

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

Preview Lab → · Contrast checker → · Palette generator →

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