#A7A326#A7A326

#A7A326 is a light, vivid yellow. Relative luminance 0.345; OKLCH L 69.7% C 0.138 H 107.6°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#A7A326
RGBrgb(167, 163, 38)
HSLhsl(58, 63%, 40%)
HSVhsv(58, 77%, 65%)
CMYKcmyk(0%, 2.4%, 77.2%, 34.5%)
CIE-LABlab(65.40, -12.76, 60.39)
CIE-LCHlch(65.40, 61.73, 101.93°)
OKLaboklab(69.73% -0.0418 0.1319)
OKLCHoklch(69.73% 0.138 107.6)
XYZxyz(29.3846, 34.5508, 6.9545)
Luminance0.3455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A326 #262AA7
analogous
#A76326 #A7A326 #6AA726
triadic
#A7A326 #26A7A3 #A326A7
tetradic
#A7A326 #26A763 #262AA7 #A7266A
square
#A7A326 #26A763 #262AA7 #A7266A
split-complementary
#A7A326 #266AA7 #6326A7
monochromatic
#43420F #75721B #A7A326 #D2CD38 #DDDA6A

Accessibility & contrast

On white

2.65
#A7A326 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#A7A326 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A326
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A326#FFFFFF#000000##000000
##A7A3261.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C04
Deuteranopia (green-blind)
#B3A130
Tritanopia (blue-blind)
#B4988C
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a7a326;
/* rgb */ color: rgb(167, 163, 38);
/* oklch */ color: oklch(69.7% 0.138 107.6);
Tailwind
colors: {
  custom: {
    50: '#c5be6b',
    500: '#a7a326',
    950: '#000000',
  },
}
SCSS
$custom: #a7a326;
$custom-light: #c5be6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a326",
  "rgb": {
    "r": 167,
    "g": 163,
    "b": 38
  },
  "hsl": {
    "h": 58.14,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.69733,
    "c": 0.13835,
    "h": 107.6
  },
  "luminance": 0.3455
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A7A326

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

Preview Lab → · Contrast checker → · Palette generator →

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