#A7A523#A7A523

#A7A523 is a light, vivid yellow. Relative luminance 0.352; OKLCH L 70.2% C 0.142 H 108.6°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#A7A523
RGBrgb(167, 165, 35)
HSLhsl(59, 65%, 40%)
HSVhsv(59, 79%, 65%)
CMYKcmyk(0%, 1.2%, 79%, 34.5%)
CIE-LABlab(65.94, -13.92, 61.82)
CIE-LCHlch(65.94, 63.36, 102.69°)
OKLaboklab(70.16% -0.0453 0.1344)
OKLCHoklch(70.16% 0.142 108.6)
XYZxyz(29.6960, 35.2481, 6.8291)
Luminance0.3525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A523 #2325A7
analogous
#A76323 #A7A523 #67A723
triadic
#A7A523 #23A7A5 #A523A7
tetradic
#A7A523 #23A763 #2325A7 #A72367
square
#A7A523 #23A763 #2325A7 #A72367
split-complementary
#A7A523 #2367A7 #6323A7
monochromatic
#42410E #747318 #A7A523 #D4D233 #DFDD66

Accessibility & contrast

On white

2.61
#A7A523 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#A7A523 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A523
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A523#FFFFFF#000000##000000
##A7A5231.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#B5A22F
Tritanopia (blue-blind)
#B39A8D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a7a523;
/* rgb */ color: rgb(167, 165, 35);
/* oklch */ color: oklch(70.2% 0.142 108.6);
Tailwind
colors: {
  custom: {
    50: '#c5bf6a',
    500: '#a7a523',
    950: '#000000',
  },
}
SCSS
$custom: #a7a523;
$custom-light: #c5bf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a523",
  "rgb": {
    "r": 167,
    "g": 165,
    "b": 35
  },
  "hsl": {
    "h": 59.091,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.70162,
    "c": 0.14178,
    "h": 108.6
  },
  "luminance": 0.35247
}

Semantic roles & 50–950 ramp

primary
#A7A523
secondary
#6163C4
accent
#42E83F
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A7A523

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

Preview Lab → · Contrast checker → · Palette generator →

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