#A7A533#A7A533

#A7A533 is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.3% C 0.133 H 108.4°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#A7A533
RGBrgb(167, 165, 51)
HSLhsl(59, 53%, 43%)
HSVhsv(59, 69%, 65%)
CMYKcmyk(0%, 1.2%, 69.5%, 34.5%)
CIE-LABlab(66.03, -13.19, 56.37)
CIE-LCHlch(66.03, 57.89, 103.17°)
OKLaboklab(70.26% -0.0418 0.1257)
OKLCHoklch(70.26% 0.133 108.4)
XYZxyz(29.9901, 35.3657, 8.3778)
Luminance0.3537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A533 #3335A7
analogous
#A76B33 #A7A533 #6FA733
triadic
#A7A533 #33A7A5 #A533A7
tetradic
#A7A533 #33A76B #3335A7 #A7336F
square
#A7A533 #33A76B #3335A7 #A7336F
split-complementary
#A7A533 #336FA7 #6B33A7
monochromatic
#494816 #787725 #A7A533 #C9C74E #D7D67D

Accessibility & contrast

On white

2.60
#A7A533 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#A7A533 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A533
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A533#FFFFFF#000000##000000
##A7A5331.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E21
Deuteranopia (green-blind)
#B4A23B
Tritanopia (blue-blind)
#B39A8E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a7a533;
/* rgb */ color: rgb(167, 165, 51);
/* oklch */ color: oklch(70.3% 0.133 108.4);
Tailwind
colors: {
  custom: {
    50: '#c4bf72',
    500: '#a7a533',
    950: '#000000',
  },
}
SCSS
$custom: #a7a533;
$custom-light: #c4bf72;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a533",
  "rgb": {
    "r": 167,
    "g": 165,
    "b": 51
  },
  "hsl": {
    "h": 58.966,
    "s": 53.211,
    "l": 42.745
  },
  "oklch": {
    "l": 0.70264,
    "c": 0.1325,
    "h": 108.4
  },
  "luminance": 0.35365
}

Semantic roles & 50–950 ramp

primary
#A7A533
secondary
#7677C0
accent
#4EDD4B
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A7A533

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

Preview Lab → · Contrast checker → · Palette generator →

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