#A7A724#A7A724

#A7A724 is a light, vivid yellow. Relative luminance 0.360; OKLCH L 70.6% C 0.143 H 109.6°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#A7A724
RGBrgb(167, 167, 36)
HSLhsl(60, 65%, 40%)
HSVhsv(60, 78%, 65%)
CMYKcmyk(0%, 0%, 78.4%, 34.5%)
CIE-LABlab(66.51, -14.91, 62.02)
CIE-LCHlch(66.51, 63.79, 103.52°)
OKLaboklab(70.61% -0.048 0.135)
OKLCHoklch(70.61% 0.143 109.6)
XYZxyz(30.0746, 35.9812, 7.0296)
Luminance0.3598 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A724 #2424A7
analogous
#A76624 #A7A724 #66A724
triadic
#A7A724 #24A7A7 #A724A7
tetradic
#A7A724 #24A766 #2424A7 #A72466
square
#A7A724 #24A766 #2424A7 #A72466
split-complementary
#A7A724 #2466A7 #6624A7
monochromatic
#42420E #757519 #A7A724 #D3D335 #DEDE67

Accessibility & contrast

On white

2.56
#A7A724 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#A7A724 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A724
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A724#FFFFFF#000000##000000
##A7A7241.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A000
Deuteranopia (green-blind)
#B6A430
Tritanopia (blue-blind)
#B39C8F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a7a724;
/* rgb */ color: rgb(167, 167, 36);
/* oklch */ color: oklch(70.6% 0.143 109.6);
Tailwind
colors: {
  custom: {
    50: '#c5c06b',
    500: '#a7a724',
    950: '#000000',
  },
}
SCSS
$custom: #a7a724;
$custom-light: #c5c06b;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a724",
  "rgb": {
    "r": 167,
    "g": 167,
    "b": 36
  },
  "hsl": {
    "h": 60,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.70614,
    "c": 0.14324,
    "h": 109.6
  },
  "luminance": 0.3598
}

Semantic roles & 50–950 ramp

primary
#A7A724
secondary
#6363C4
accent
#40E840
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A7A724

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

Preview Lab → · Contrast checker → · Palette generator →

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