#A7AE2A#A7AE2A

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

Color values

HEX#A7AE2A
RGBrgb(167, 174, 42)
HSLhsl(63, 61%, 42%)
HSVhsv(63, 76%, 68%)
CMYKcmyk(4%, 0%, 75.9%, 31.8%)
CIE-LABlab(68.50, -18.25, 61.95)
CIE-LCHlch(68.50, 64.58, 106.41°)
OKLaboklab(72.22% -0.0567 0.1359)
OKLCHoklch(72.22% 0.147 112.7)
XYZxyz(31.4913, 38.6555, 7.9924)
Luminance0.3866 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7AE2A #312AAE
analogous
#AE732A #A7AE2A #65AE2A
triadic
#A7AE2A #2AA7AE #AE2AA7
tetradic
#A7AE2A #2AAE73 #312AAE #AE2A65
square
#A7AE2A #2AAE73 #312AAE #AE2A65
split-complementary
#A7AE2A #2A65AE #732AAE
monochromatic
#484B12 #787D1E #A7AE2A #CAD243 #D8DE75

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7AE2A#FFFFFF#000000##000000
##A7AE2A1.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)
#BBA608
Deuteranopia (green-blind)
#BCA835
Tritanopia (blue-blind)
#B3A395
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a7ae2a;
/* rgb */ color: rgb(167, 174, 42);
/* oklch */ color: oklch(72.2% 0.147 112.7);
Tailwind
colors: {
  custom: {
    50: '#c5c66e',
    500: '#a7ae2a',
    950: '#000000',
  },
}
SCSS
$custom: #a7ae2a;
$custom-light: #c5c66e;
$custom-dark: #000000;
JSON
{
  "hex": "#a7ae2a",
  "rgb": {
    "r": 167,
    "g": 174,
    "b": 42
  },
  "hsl": {
    "h": 63.182,
    "s": 61.111,
    "l": 42.353
  },
  "oklch": {
    "l": 0.7222,
    "c": 0.1473,
    "h": 112.7
  },
  "luminance": 0.38655
}

Semantic roles & 50–950 ramp

primary
#A7AE2A
secondary
#736FC5
accent
#44E44C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A7AE2A

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

Preview Lab → · Contrast checker → · Palette generator →

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