#A7A826#A7A826

#A7A826 is a light, vivid yellow. Relative luminance 0.364; OKLCH L 70.8% C 0.143 H 110.0°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#A7A826
RGBrgb(167, 168, 38)
HSLhsl(60, 63%, 40%)
HSVhsv(60, 77%, 66%)
CMYKcmyk(0.6%, 0%, 77.4%, 34.1%)
CIE-LABlab(66.80, -15.35, 61.66)
CIE-LCHlch(66.80, 63.55, 103.98°)
OKLaboklab(70.85% -0.049 0.1346)
OKLCHoklch(70.85% 0.143 110)
XYZxyz(30.2900, 36.3616, 7.2563)
Luminance0.3636 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A826 #2726A8
analogous
#A86826 #A7A826 #66A826
triadic
#A7A826 #26A7A8 #A826A7
tetradic
#A7A826 #26A868 #2726A8 #A82666
square
#A7A826 #26A868 #2726A8 #A82666
split-complementary
#A7A826 #2666A8 #6826A8
monochromatic
#44440F #75761B #A7A826 #D1D239 #DDDE6B

Accessibility & contrast

On white

2.54
#A7A826 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#A7A826 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A826
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A826#FFFFFF#000000##000000
##A7A8261.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A100
Deuteranopia (green-blind)
#B7A431
Tritanopia (blue-blind)
#B39D90
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a7a826;
/* rgb */ color: rgb(167, 168, 38);
/* oklch */ color: oklch(70.8% 0.143 110.0);
Tailwind
colors: {
  custom: {
    50: '#c5c16c',
    500: '#a7a826',
    950: '#000000',
  },
}
SCSS
$custom: #a7a826;
$custom-light: #c5c16c;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a826",
  "rgb": {
    "r": 167,
    "g": 168,
    "b": 38
  },
  "hsl": {
    "h": 60.462,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.70849,
    "c": 0.14323,
    "h": 110
  },
  "luminance": 0.36361
}

Semantic roles & 50–950 ramp

primary
#A7A826
secondary
#6766C4
accent
#42E643
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A7A826

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

Preview Lab → · Contrast checker → · Palette generator →

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