#A7AE2D#A7AE2D

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

Color values

HEX#A7AE2D
RGBrgb(167, 174, 45)
HSLhsl(63, 59%, 43%)
HSVhsv(63, 74%, 68%)
CMYKcmyk(4%, 0%, 74.1%, 31.8%)
CIE-LABlab(68.52, -18.11, 60.97)
CIE-LCHlch(68.52, 63.60, 106.55°)
OKLaboklab(72.24% -0.0561 0.1344)
OKLCHoklch(72.24% 0.146 112.7)
XYZxyz(31.5471, 38.6778, 8.2858)
Luminance0.3868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7AE2D #342DAE
analogous
#AE742D #A7AE2D #66AE2D
triadic
#A7AE2D #2DA7AE #AE2DA7
tetradic
#A7AE2D #2DAE74 #342DAE #AE2D66
square
#A7AE2D #2DAE74 #342DAE #AE2D66
split-complementary
#A7AE2D #2D66AE #742DAE
monochromatic
#4A4D14 #787D20 #A7AE2D #C8D048 #D7DC79

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7AE2D#FFFFFF#000000##000000
##A7AE2D1.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)
#BBA611
Deuteranopia (green-blind)
#BCA838
Tritanopia (blue-blind)
#B3A395
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a7ae2d;
/* rgb */ color: rgb(167, 174, 45);
/* oklch */ color: oklch(72.2% 0.146 112.7);
Tailwind
colors: {
  custom: {
    50: '#c5c670',
    500: '#a7ae2d',
    950: '#000000',
  },
}
SCSS
$custom: #a7ae2d;
$custom-light: #c5c670;
$custom-dark: #000000;
JSON
{
  "hex": "#a7ae2d",
  "rgb": {
    "r": 167,
    "g": 174,
    "b": 45
  },
  "hsl": {
    "h": 63.256,
    "s": 58.904,
    "l": 42.941
  },
  "oklch": {
    "l": 0.72238,
    "c": 0.14562,
    "h": 112.7
  },
  "luminance": 0.38677
}

Semantic roles & 50–950 ramp

primary
#A7AE2D
secondary
#7772C4
accent
#46E24E
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A7AE2D

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

Preview Lab → · Contrast checker → · Palette generator →

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