#A7A726#A7A726

#A7A726 is a light, vivid yellow. Relative luminance 0.360; OKLCH L 70.6% C 0.142 H 109.6°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#A7A726
RGBrgb(167, 167, 38)
HSLhsl(60, 63%, 40%)
HSVhsv(60, 77%, 65%)
CMYKcmyk(0%, 0%, 77.2%, 34.5%)
CIE-LABlab(66.52, -14.84, 61.41)
CIE-LCHlch(66.52, 63.18, 103.58°)
OKLaboklab(70.63% -0.0476 0.134)
OKLCHoklch(70.63% 0.142 109.6)
XYZxyz(30.1061, 35.9938, 7.1950)
Luminance0.3599 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A726 #2626A7
analogous
#A76626 #A7A726 #66A726
triadic
#A7A726 #26A7A7 #A726A7
tetradic
#A7A726 #26A766 #2626A7 #A72666
square
#A7A726 #26A766 #2626A7 #A72666
split-complementary
#A7A726 #2666A7 #6626A7
monochromatic
#43430F #75751B #A7A726 #D2D238 #DDDD6A

Accessibility & contrast

On white

2.56
#A7A726 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#A7A726 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A726
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A726#FFFFFF#000000##000000
##A7A7261.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A001
Deuteranopia (green-blind)
#B6A431
Tritanopia (blue-blind)
#B39C8F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a7a726;
/* rgb */ color: rgb(167, 167, 38);
/* oklch */ color: oklch(70.6% 0.142 109.6);
Tailwind
colors: {
  custom: {
    50: '#c5c06c',
    500: '#a7a726',
    950: '#000000',
  },
}
SCSS
$custom: #a7a726;
$custom-light: #c5c06c;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a726",
  "rgb": {
    "r": 167,
    "g": 167,
    "b": 38
  },
  "hsl": {
    "h": 60,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.70625,
    "c": 0.14224,
    "h": 109.6
  },
  "luminance": 0.35993
}

Semantic roles & 50–950 ramp

primary
#A7A726
secondary
#6565C3
accent
#42E642
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A7A726

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

Preview Lab → · Contrast checker → · Palette generator →

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