#A7A625#A7A625

#A7A625 is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.4% C 0.142 H 109.1°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#A7A625
RGBrgb(167, 166, 37)
HSLhsl(60, 64%, 40%)
HSVhsv(60, 78%, 65%)
CMYKcmyk(0%, 0.6%, 77.8%, 34.5%)
CIE-LABlab(66.23, -14.36, 61.46)
CIE-LCHlch(66.23, 63.12, 103.15°)
OKLaboklab(70.4% -0.0463 0.134)
OKLCHoklch(70.4% 0.142 109.1)
XYZxyz(29.9076, 35.6224, 7.0503)
Luminance0.3562 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A625 #2526A7
analogous
#A76525 #A7A625 #67A725
triadic
#A7A625 #25A7A6 #A625A7
tetradic
#A7A625 #25A765 #2526A7 #A72567
square
#A7A625 #25A765 #2526A7 #A72567
split-complementary
#A7A625 #2567A7 #6525A7
monochromatic
#43420F #75741A #A7A625 #D3D137 #DEDD69

Accessibility & contrast

On white

2.58
#A7A625 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#A7A625 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A625
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A625#FFFFFF#000000##000000
##A7A6251.002.588.128.12
#FFFFFF2.581.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F00
Deuteranopia (green-blind)
#B6A330
Tritanopia (blue-blind)
#B39B8E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a7a625;
/* rgb */ color: rgb(167, 166, 37);
/* oklch */ color: oklch(70.4% 0.142 109.1);
Tailwind
colors: {
  custom: {
    50: '#c5c06b',
    500: '#a7a625',
    950: '#000000',
  },
}
SCSS
$custom: #a7a625;
$custom-light: #c5c06b;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a625",
  "rgb": {
    "r": 167,
    "g": 166,
    "b": 37
  },
  "hsl": {
    "h": 59.538,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.70396,
    "c": 0.14176,
    "h": 109.1
  },
  "luminance": 0.35621
}

Semantic roles & 50–950 ramp

primary
#A7A625
secondary
#6465C4
accent
#42E741
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A7A625

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

Preview Lab → · Contrast checker → · Palette generator →

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