#A7A325#A7A325

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

Color values

HEX#A7A325
RGBrgb(167, 163, 37)
HSLhsl(58, 64%, 40%)
HSVhsv(58, 78%, 65%)
CMYKcmyk(0%, 2.4%, 77.8%, 34.5%)
CIE-LABlab(65.39, -12.80, 60.71)
CIE-LCHlch(65.39, 62.04, 101.91°)
OKLaboklab(69.73% -0.042 0.1324)
OKLCHoklch(69.73% 0.139 107.6)
XYZxyz(29.3687, 34.5445, 6.8706)
Luminance0.3454 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A325 #2529A7
analogous
#A76225 #A7A325 #6AA725
triadic
#A7A325 #25A7A3 #A325A7
tetradic
#A7A325 #25A762 #2529A7 #A7256A
square
#A7A325 #25A762 #2529A7 #A7256A
split-complementary
#A7A325 #256AA7 #6225A7
monochromatic
#43410F #75721A #A7A325 #D3CE37 #DEDA69

Accessibility & contrast

On white

2.66
#A7A325 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7A325#FFFFFF#000000##000000
##A7A3251.002.667.917.91
#FFFFFF2.661.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7a325;
/* rgb */ color: rgb(167, 163, 37);
/* oklch */ color: oklch(69.7% 0.139 107.6);
Tailwind
colors: {
  custom: {
    50: '#c5bd6b',
    500: '#a7a325',
    950: '#000000',
  },
}
SCSS
$custom: #a7a325;
$custom-light: #c5bd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a325",
  "rgb": {
    "r": 167,
    "g": 163,
    "b": 37
  },
  "hsl": {
    "h": 58.154,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.69727,
    "c": 0.13887,
    "h": 107.6
  },
  "luminance": 0.34543
}

Semantic roles & 50–950 ramp

primary
#A7A325
secondary
#6467C4
accent
#46E741
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A7A325

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

Preview Lab → · Contrast checker → · Palette generator →

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