#A7A426#A7A426

#A7A426 is a light, vivid yellow. Relative luminance 0.349; OKLCH L 70.0% C 0.139 H 108.1°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#A7A426
RGBrgb(167, 164, 38)
HSLhsl(59, 63%, 40%)
HSVhsv(59, 77%, 65%)
CMYKcmyk(0%, 1.8%, 77.2%, 34.5%)
CIE-LABlab(65.68, -13.28, 60.65)
CIE-LCHlch(65.68, 62.09, 102.35°)
OKLaboklab(69.96% -0.0433 0.1324)
OKLCHoklch(69.96% 0.139 108.1)
XYZxyz(29.5628, 34.9073, 7.0139)
Luminance0.3491 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A426 #2629A7
analogous
#A76426 #A7A426 #69A726
triadic
#A7A426 #26A7A4 #A426A7
tetradic
#A7A426 #26A764 #2629A7 #A72669
square
#A7A426 #26A764 #2629A7 #A72669
split-complementary
#A7A426 #2669A7 #6426A7
monochromatic
#43420F #75731B #A7A426 #D2CE38 #DDDA6A

Accessibility & contrast

On white

2.63
#A7A426 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#A7A426 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A426
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A426#FFFFFF#000000##000000
##A7A4261.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D03
Deuteranopia (green-blind)
#B4A131
Tritanopia (blue-blind)
#B3998D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a7a426;
/* rgb */ color: rgb(167, 164, 38);
/* oklch */ color: oklch(70.0% 0.139 108.1);
Tailwind
colors: {
  custom: {
    50: '#c5be6b',
    500: '#a7a426',
    950: '#000000',
  },
}
SCSS
$custom: #a7a426;
$custom-light: #c5be6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a426",
  "rgb": {
    "r": 167,
    "g": 164,
    "b": 38
  },
  "hsl": {
    "h": 58.605,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.69955,
    "c": 0.13931,
    "h": 108.1
  },
  "luminance": 0.34906
}

Semantic roles & 50–950 ramp

primary
#A7A426
secondary
#6568C3
accent
#46E642
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A7A426

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

Preview Lab → · Contrast checker → · Palette generator →

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