#A7A829#A7A829

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

Color values

HEX#A7A829
RGBrgb(167, 168, 41)
HSLhsl(60, 61%, 41%)
HSVhsv(60, 76%, 66%)
CMYKcmyk(0.6%, 0%, 75.6%, 34.1%)
CIE-LABlab(66.81, -15.23, 60.71)
CIE-LCHlch(66.81, 62.59, 104.08°)
OKLaboklab(70.87% -0.0484 0.1331)
OKLCHoklch(70.87% 0.142 110)
XYZxyz(30.3403, 36.3817, 7.5215)
Luminance0.3638 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A829 #2A29A8
analogous
#A86929 #A7A829 #67A829
triadic
#A7A829 #29A7A8 #A829A7
tetradic
#A7A829 #29A869 #2A29A8 #A82967
square
#A7A829 #29A869 #2A29A8 #A82967
split-complementary
#A7A829 #2967A8 #6929A8
monochromatic
#454611 #76771D #A7A829 #CFD03E #DBDC6F

Accessibility & contrast

On white

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

On black

8.28
#A7A829 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A829
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A829#FFFFFF#000000##000000
##A7A8291.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A10A
Deuteranopia (green-blind)
#B7A434
Tritanopia (blue-blind)
#B39D90
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a7a829;
/* rgb */ color: rgb(167, 168, 41);
/* oklch */ color: oklch(70.9% 0.142 110.0);
Tailwind
colors: {
  custom: {
    50: '#c5c16d',
    500: '#a7a829',
    950: '#000000',
  },
}
SCSS
$custom: #a7a829;
$custom-light: #c5c16d;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a829",
  "rgb": {
    "r": 167,
    "g": 168,
    "b": 41
  },
  "hsl": {
    "h": 60.472,
    "s": 60.766,
    "l": 40.98
  },
  "oklch": {
    "l": 0.70866,
    "c": 0.14166,
    "h": 110
  },
  "luminance": 0.36381
}

Semantic roles & 50–950 ramp

primary
#A7A829
secondary
#6B6AC3
accent
#44E445
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A7A829

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

Preview Lab → · Contrast checker → · Palette generator →

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