#A7AE20#A7AE20

#A7AE20 is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.2% C 0.152 H 112.7°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#A7AE20
RGBrgb(167, 174, 32)
HSLhsl(63, 69%, 40%)
HSVhsv(63, 82%, 68%)
CMYKcmyk(4%, 0%, 81.6%, 31.8%)
CIE-LABlab(68.46, -18.62, 64.87)
CIE-LCHlch(68.46, 67.49, 106.02°)
OKLaboklab(72.17% -0.0586 0.1404)
OKLCHoklch(72.17% 0.152 112.7)
XYZxyz(31.3342, 38.5926, 7.1647)
Luminance0.3859 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7AE20 #2720AE
analogous
#AE6E20 #A7AE20 #60AE20
triadic
#A7AE20 #20A7AE #AE20A7
tetradic
#A7AE20 #20AE6E #2720AE #AE2060
square
#A7AE20 #20AE6E #2720AE #AE2060
split-complementary
#A7AE20 #2060AE #6E20AE
monochromatic
#44470D #757A16 #A7AE20 #D1D932 #DDE366

Accessibility & contrast

On white

2.41
#A7AE20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#A7AE20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7AE20
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7AE20#FFFFFF#000000##000000
##A7AE201.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA500
Deuteranopia (green-blind)
#BCA82E
Tritanopia (blue-blind)
#B3A395
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a7ae20;
/* rgb */ color: rgb(167, 174, 32);
/* oklch */ color: oklch(72.2% 0.152 112.7);
Tailwind
colors: {
  custom: {
    50: '#c5c56a',
    500: '#a7ae20',
    950: '#000000',
  },
}
SCSS
$custom: #a7ae20;
$custom-light: #c5c56a;
$custom-dark: #000000;
JSON
{
  "hex": "#a7ae20",
  "rgb": {
    "r": 167,
    "g": 174,
    "b": 32
  },
  "hsl": {
    "h": 62.958,
    "s": 68.932,
    "l": 40.392
  },
  "oklch": {
    "l": 0.72169,
    "c": 0.15209,
    "h": 112.7
  },
  "luminance": 0.38592
}

Semantic roles & 50–950 ramp

primary
#A7AE20
secondary
#6762C8
accent
#3CEC45
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A7AE20

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

Preview Lab → · Contrast checker → · Palette generator →

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