#A7AE2E#A7AE2E

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

Color values

HEX#A7AE2E
RGBrgb(167, 174, 46)
HSLhsl(63, 58%, 43%)
HSVhsv(63, 74%, 68%)
CMYKcmyk(4%, 0%, 73.6%, 31.8%)
CIE-LABlab(68.52, -18.07, 60.63)
CIE-LCHlch(68.52, 63.26, 106.59°)
OKLaboklab(72.25% -0.0559 0.1338)
OKLCHoklch(72.25% 0.145 112.7)
XYZxyz(31.5665, 38.6856, 8.3884)
Luminance0.3869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7AE2E #352EAE
analogous
#AE752E #A7AE2E #67AE2E
triadic
#A7AE2E #2EA7AE #AE2EA7
tetradic
#A7AE2E #2EAE75 #352EAE #AE2E67
square
#A7AE2E #2EAE75 #352EAE #AE2E67
split-complementary
#A7AE2E #2E67AE #752EAE
monochromatic
#4A4D14 #797E21 #A7AE2E #C8CF4A #D7DC7A

Accessibility & contrast

On white

2.40
#A7AE2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#A7AE2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7AE2E
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7AE2E#FFFFFF#000000##000000
##A7AE2E1.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA614
Deuteranopia (green-blind)
#BCA938
Tritanopia (blue-blind)
#B2A396
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a7ae2e;
/* rgb */ color: rgb(167, 174, 46);
/* oklch */ color: oklch(72.2% 0.145 112.7);
Tailwind
colors: {
  custom: {
    50: '#c5c670',
    500: '#a7ae2e',
    950: '#000000',
  },
}
SCSS
$custom: #a7ae2e;
$custom-light: #c5c670;
$custom-dark: #000000;
JSON
{
  "hex": "#a7ae2e",
  "rgb": {
    "r": 167,
    "g": 174,
    "b": 46
  },
  "hsl": {
    "h": 63.281,
    "s": 58.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.72245,
    "c": 0.14504,
    "h": 112.7
  },
  "luminance": 0.38685
}

Semantic roles & 50–950 ramp

primary
#A7AE2E
secondary
#7874C4
accent
#46E14F
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A7AE2E

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

Preview Lab → · Contrast checker → · Palette generator →

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