#A7A624#A7A624

#A7A624 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#A7A624
RGBrgb(167, 166, 36)
HSLhsl(60, 65%, 40%)
HSVhsv(60, 78%, 65%)
CMYKcmyk(0%, 0.6%, 78.4%, 34.5%)
CIE-LABlab(66.23, -14.40, 61.77)
CIE-LCHlch(66.23, 63.42, 103.12°)
OKLaboklab(70.39% -0.0465 0.1344)
OKLCHoklch(70.39% 0.142 109.1)
XYZxyz(29.8922, 35.6163, 6.9687)
Luminance0.3562 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A624 #2425A7
analogous
#A76524 #A7A624 #67A724
triadic
#A7A624 #24A7A6 #A624A7
tetradic
#A7A624 #24A765 #2425A7 #A72467
square
#A7A624 #24A765 #2425A7 #A72467
split-complementary
#A7A624 #2467A7 #6524A7
monochromatic
#42420E #757419 #A7A624 #D3D235 #DEDD67

Accessibility & contrast

On white

2.59
#A7A624 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7A624#FFFFFF#000000##000000
##A7A6241.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7a624;
/* rgb */ color: rgb(167, 166, 36);
/* oklch */ color: oklch(70.4% 0.142 109.1);
Tailwind
colors: {
  custom: {
    50: '#c5c06b',
    500: '#a7a624',
    950: '#000000',
  },
}
SCSS
$custom: #a7a624;
$custom-light: #c5c06b;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a624",
  "rgb": {
    "r": 167,
    "g": 166,
    "b": 36
  },
  "hsl": {
    "h": 59.542,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.70391,
    "c": 0.14226,
    "h": 109.1
  },
  "luminance": 0.35615
}

Semantic roles & 50–950 ramp

primary
#A7A624
secondary
#6364C4
accent
#42E840
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A7A624

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

Preview Lab → · Contrast checker → · Palette generator →

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