#A7AE2F#A7AE2F

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

Color values

HEX#A7AE2F
RGBrgb(167, 174, 47)
HSLhsl(63, 57%, 43%)
HSVhsv(63, 73%, 68%)
CMYKcmyk(4%, 0%, 73%, 31.8%)
CIE-LABlab(68.53, -18.02, 60.28)
CIE-LCHlch(68.53, 62.92, 106.64°)
OKLaboklab(72.25% -0.0557 0.1333)
OKLCHoklch(72.25% 0.144 112.7)
XYZxyz(31.5865, 38.6936, 8.4935)
Luminance0.3869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7AE2F #362FAE
analogous
#AE752F #A7AE2F #67AE2F
triadic
#A7AE2F #2FA7AE #AE2FA7
tetradic
#A7AE2F #2FAE75 #362FAE #AE2F67
square
#A7AE2F #2FAE75 #362FAE #AE2F67
split-complementary
#A7AE2F #2F67AE #752FAE
monochromatic
#4B4E15 #797E22 #A7AE2F #C7CF4C #D6DC7C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7AE2F#FFFFFF#000000##000000
##A7AE2F1.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)
#BBA616
Deuteranopia (green-blind)
#BBA939
Tritanopia (blue-blind)
#B2A396
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a7ae2f;
/* rgb */ color: rgb(167, 174, 47);
/* oklch */ color: oklch(72.3% 0.144 112.7);
Tailwind
colors: {
  custom: {
    50: '#c5c671',
    500: '#a7ae2f',
    950: '#000000',
  },
}
SCSS
$custom: #a7ae2f;
$custom-light: #c5c671;
$custom-dark: #000000;
JSON
{
  "hex": "#a7ae2f",
  "rgb": {
    "r": 167,
    "g": 174,
    "b": 47
  },
  "hsl": {
    "h": 63.307,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.72251,
    "c": 0.14444,
    "h": 112.7
  },
  "luminance": 0.38693
}

Semantic roles & 50–950 ramp

primary
#A7AE2F
secondary
#7975C4
accent
#47E150
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A7AE2F

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

Preview Lab → · Contrast checker → · Palette generator →

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