#A7A926#A7A926

#A7A926 is a light, vivid yellow. Relative luminance 0.367; OKLCH L 71.1% C 0.144 H 110.5°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#A7A926
RGBrgb(167, 169, 38)
HSLhsl(61, 63%, 41%)
HSVhsv(61, 78%, 66%)
CMYKcmyk(1.2%, 0%, 77.5%, 33.7%)
CIE-LABlab(67.08, -15.86, 61.92)
CIE-LCHlch(67.08, 63.92, 104.37°)
OKLaboklab(71.07% -0.0505 0.1351)
OKLCHoklch(71.07% 0.144 110.5)
XYZxyz(30.4753, 36.7322, 7.3180)
Luminance0.3673 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A926 #2826A9
analogous
#A96926 #A7A926 #65A926
triadic
#A7A926 #26A7A9 #A926A7
tetradic
#A7A926 #26A969 #2826A9 #A92665
square
#A7A926 #26A969 #2826A9 #A92665
split-complementary
#A7A926 #2665A9 #6926A9
monochromatic
#444510 #76771B #A7A926 #D0D33A #DCDE6C

Accessibility & contrast

On white

2.52
#A7A926 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#A7A926 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A926
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A926#FFFFFF#000000##000000
##A7A9261.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#B8A531
Tritanopia (blue-blind)
#B39E91
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a7a926;
/* rgb */ color: rgb(167, 169, 38);
/* oklch */ color: oklch(71.1% 0.144 110.5);
Tailwind
colors: {
  custom: {
    50: '#c5c26c',
    500: '#a7a926',
    950: '#000000',
  },
}
SCSS
$custom: #a7a926;
$custom-light: #c5c26c;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a926",
  "rgb": {
    "r": 167,
    "g": 169,
    "b": 38
  },
  "hsl": {
    "h": 60.916,
    "s": 63.285,
    "l": 40.588
  },
  "oklch": {
    "l": 0.71073,
    "c": 0.14424,
    "h": 110.5
  },
  "luminance": 0.36731
}

Semantic roles & 50–950 ramp

primary
#A7A926
secondary
#6867C4
accent
#41E644
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A7A926

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

Preview Lab → · Contrast checker → · Palette generator →

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