#A7A824#A7A824

#A7A824 is a light, vivid yellow. Relative luminance 0.363; OKLCH L 70.8% C 0.144 H 110.0°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#A7A824
RGBrgb(167, 168, 36)
HSLhsl(60, 65%, 40%)
HSVhsv(60, 79%, 66%)
CMYKcmyk(0.6%, 0%, 78.6%, 34.1%)
CIE-LABlab(66.79, -15.43, 62.27)
CIE-LCHlch(66.79, 64.15, 103.92°)
OKLaboklab(70.84% -0.0494 0.1355)
OKLCHoklch(70.84% 0.144 110)
XYZxyz(30.2586, 36.3490, 7.0909)
Luminance0.3635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A824 #2524A8
analogous
#A86724 #A7A824 #65A824
triadic
#A7A824 #24A7A8 #A824A7
tetradic
#A7A824 #24A867 #2524A8 #A82465
square
#A7A824 #24A867 #2524A8 #A82465
split-complementary
#A7A824 #2465A8 #6724A8
monochromatic
#43430E #757619 #A7A824 #D3D435 #DEDF68

Accessibility & contrast

On white

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

On black

8.27
#A7A824 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A824
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A824#FFFFFF#000000##000000
##A7A8241.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A000
Deuteranopia (green-blind)
#B7A430
Tritanopia (blue-blind)
#B39D90
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a7a824;
/* rgb */ color: rgb(167, 168, 36);
/* oklch */ color: oklch(70.8% 0.144 110.0);
Tailwind
colors: {
  custom: {
    50: '#c5c16b',
    500: '#a7a824',
    950: '#000000',
  },
}
SCSS
$custom: #a7a824;
$custom-light: #c5c16b;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a824",
  "rgb": {
    "r": 167,
    "g": 168,
    "b": 36
  },
  "hsl": {
    "h": 60.455,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.70838,
    "c": 0.14423,
    "h": 110
  },
  "luminance": 0.36348
}

Semantic roles & 50–950 ramp

primary
#A7A824
secondary
#6463C4
accent
#40E841
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A7A824

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

Preview Lab → · Contrast checker → · Palette generator →

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