#A7AE28#A7AE28

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

Color values

HEX#A7AE28
RGBrgb(167, 174, 40)
HSLhsl(63, 63%, 42%)
HSVhsv(63, 77%, 68%)
CMYKcmyk(4%, 0%, 77%, 31.8%)
CIE-LABlab(68.49, -18.33, 62.58)
CIE-LCHlch(68.49, 65.21, 106.33°)
OKLaboklab(72.21% -0.0571 0.1369)
OKLCHoklch(72.21% 0.148 112.7)
XYZxyz(31.4564, 38.6415, 7.8086)
Luminance0.3864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7AE28 #2F28AE
analogous
#AE7228 #A7AE28 #64AE28
triadic
#A7AE28 #28A7AE #AE28A7
tetradic
#A7AE28 #28AE72 #2F28AE #AE2864
square
#A7AE28 #28AE72 #2F28AE #AE2864
split-complementary
#A7AE28 #2864AE #7228AE
monochromatic
#474A11 #777C1D #A7AE28 #CBD340 #D9DF72

Accessibility & contrast

On white

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

On black

8.73
#A7AE28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7AE28
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7AE28#FFFFFF#000000##000000
##A7AE281.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7ae28;
/* rgb */ color: rgb(167, 174, 40);
/* oklch */ color: oklch(72.2% 0.148 112.7);
Tailwind
colors: {
  custom: {
    50: '#c5c56e',
    500: '#a7ae28',
    950: '#000000',
  },
}
SCSS
$custom: #a7ae28;
$custom-light: #c5c56e;
$custom-dark: #000000;
JSON
{
  "hex": "#a7ae28",
  "rgb": {
    "r": 167,
    "g": 174,
    "b": 40
  },
  "hsl": {
    "h": 63.134,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.72209,
    "c": 0.14835,
    "h": 112.7
  },
  "luminance": 0.38641
}

Semantic roles & 50–950 ramp

primary
#A7AE28
secondary
#716CC6
accent
#42E64B
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A7AE28

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

Preview Lab → · Contrast checker → · Palette generator →

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