#A7AE2C#A7AE2C

#A7AE2C 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.73:1 contrast (WCAG AA passes).

Color values

HEX#A7AE2C
RGBrgb(167, 174, 44)
HSLhsl(63, 60%, 43%)
HSVhsv(63, 75%, 68%)
CMYKcmyk(4%, 0%, 74.7%, 31.8%)
CIE-LABlab(68.51, -18.16, 61.30)
CIE-LCHlch(68.51, 63.93, 106.50°)
OKLaboklab(72.23% -0.0563 0.1349)
OKLCHoklch(72.23% 0.146 112.7)
XYZxyz(31.5280, 38.6702, 8.1856)
Luminance0.3867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7AE2C #332CAE
analogous
#AE742C #A7AE2C #66AE2C
triadic
#A7AE2C #2CA7AE #AE2CA7
tetradic
#A7AE2C #2CAE74 #332CAE #AE2C66
square
#A7AE2C #2CAE74 #332CAE #AE2C66
split-complementary
#A7AE2C #2C66AE #742CAE
monochromatic
#494C13 #787D20 #A7AE2C #C9D047 #D7DD78

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7AE2C#FFFFFF#000000##000000
##A7AE2C1.002.408.738.73
#FFFFFF2.401.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7ae2c;
/* rgb */ color: rgb(167, 174, 44);
/* oklch */ color: oklch(72.2% 0.146 112.7);
Tailwind
colors: {
  custom: {
    50: '#c5c66f',
    500: '#a7ae2c',
    950: '#000000',
  },
}
SCSS
$custom: #a7ae2c;
$custom-light: #c5c66f;
$custom-dark: #000000;
JSON
{
  "hex": "#a7ae2c",
  "rgb": {
    "r": 167,
    "g": 174,
    "b": 44
  },
  "hsl": {
    "h": 63.231,
    "s": 59.633,
    "l": 42.745
  },
  "oklch": {
    "l": 0.72232,
    "c": 0.14619,
    "h": 112.7
  },
  "luminance": 0.38669
}

Semantic roles & 50–950 ramp

primary
#A7AE2C
secondary
#7671C5
accent
#45E34D
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A7AE2C

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

Preview Lab → · Contrast checker → · Palette generator →

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