#A7A220#A7A220

#A7A220 is a light, vivid yellow. Relative luminance 0.342; OKLCH L 69.5% C 0.140 H 107.2°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#A7A220
RGBrgb(167, 162, 32)
HSLhsl(58, 68%, 39%)
HSVhsv(58, 81%, 65%)
CMYKcmyk(0%, 3%, 80.8%, 34.5%)
CIE-LABlab(65.09, -12.46, 61.94)
CIE-LCHlch(65.09, 63.18, 101.38°)
OKLaboklab(69.48% -0.0415 0.1341)
OKLCHoklch(69.48% 0.14 107.2)
XYZxyz(29.1186, 34.1615, 6.4262)
Luminance0.3416 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A220 #2025A7
analogous
#A75F20 #A7A220 #69A720
triadic
#A7A220 #20A7A2 #A220A7
tetradic
#A7A220 #20A75F #2025A7 #A72069
square
#A7A220 #20A75F #2025A7 #A72069
split-complementary
#A7A220 #2069A7 #5F20A7
monochromatic
#403E0C #747016 #A7A220 #D7D12D #E1DC61

Accessibility & contrast

On white

2.68
#A7A220 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#A7A220 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A220
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A220#FFFFFF#000000##000000
##A7A2201.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#B3A02C
Tritanopia (blue-blind)
#B4978A
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a7a220;
/* rgb */ color: rgb(167, 162, 32);
/* oklch */ color: oklch(69.5% 0.140 107.2);
Tailwind
colors: {
  custom: {
    50: '#c5bd69',
    500: '#a7a220',
    950: '#000000',
  },
}
SCSS
$custom: #a7a220;
$custom-light: #c5bd69;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a220",
  "rgb": {
    "r": 167,
    "g": 162,
    "b": 32
  },
  "hsl": {
    "h": 57.778,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.69479,
    "c": 0.14033,
    "h": 107.2
  },
  "luminance": 0.3416
}

Semantic roles & 50–950 ramp

primary
#A7A220
secondary
#5D61C5
accent
#44EB3D
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #A7A220

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

Preview Lab → · Contrast checker → · Palette generator →

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