#A7AE23#A7AE23

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

Color values

HEX#A7AE23
RGBrgb(167, 174, 35)
HSLhsl(63, 67%, 41%)
HSVhsv(63, 80%, 68%)
CMYKcmyk(4%, 0%, 79.9%, 31.8%)
CIE-LABlab(68.47, -18.52, 64.05)
CIE-LCHlch(68.47, 66.68, 106.13°)
OKLaboklab(72.18% -0.0581 0.1392)
OKLCHoklch(72.18% 0.151 112.7)
XYZxyz(31.3768, 38.6097, 7.3893)
Luminance0.3861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7AE23 #2A23AE
analogous
#AE6F23 #A7AE23 #61AE23
triadic
#A7AE23 #23A7AE #AE23A7
tetradic
#A7AE23 #23AE6F #2A23AE #AE2361
square
#A7AE23 #23AE6F #2A23AE #AE2361
split-complementary
#A7AE23 #2361AE #6F23AE
monochromatic
#45480F #767B19 #A7AE23 #CFD737 #DBE16A

Accessibility & contrast

On white

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

On black

8.72
#A7AE23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7AE23
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7AE23#FFFFFF#000000##000000
##A7AE231.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7ae23;
/* rgb */ color: rgb(167, 174, 35);
/* oklch */ color: oklch(72.2% 0.151 112.7);
Tailwind
colors: {
  custom: {
    50: '#c5c56b',
    500: '#a7ae23',
    950: '#000000',
  },
}
SCSS
$custom: #a7ae23;
$custom-light: #c5c56b;
$custom-dark: #000000;
JSON
{
  "hex": "#a7ae23",
  "rgb": {
    "r": 167,
    "g": 174,
    "b": 35
  },
  "hsl": {
    "h": 63.022,
    "s": 66.507,
    "l": 40.98
  },
  "oklch": {
    "l": 0.72183,
    "c": 0.15078,
    "h": 112.7
  },
  "luminance": 0.38609
}

Semantic roles & 50–950 ramp

primary
#A7AE23
secondary
#6B66C7
accent
#3EE947
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A7AE23

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

Preview Lab → · Contrast checker → · Palette generator →

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