#A7AC23#A7AC23

#A7AC23 is a light, vivid yellow. Relative luminance 0.378; OKLCH L 71.7% C 0.149 H 111.8°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#A7AC23
RGBrgb(167, 172, 35)
HSLhsl(62, 66%, 41%)
HSVhsv(62, 80%, 67%)
CMYKcmyk(2.9%, 0%, 79.7%, 32.5%)
CIE-LABlab(67.90, -17.51, 63.56)
CIE-LCHlch(67.90, 65.92, 105.40°)
OKLaboklab(71.73% -0.0553 0.1381)
OKLCHoklch(71.73% 0.149 111.8)
XYZxyz(30.9933, 37.8427, 7.2615)
Luminance0.3784 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7AC23 #2823AC
analogous
#AC6C23 #A7AC23 #62AC23
triadic
#A7AC23 #23A7AC #AC23A7
tetradic
#A7AC23 #23AC6C #2823AC #AC2362
square
#A7AC23 #23AC6C #2823AC #AC2362
split-complementary
#A7AC23 #2362AC #6C23AC
monochromatic
#44460E #767919 #A7AC23 #D0D636 #DCE069

Accessibility & contrast

On white

2.45
#A7AC23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#A7AC23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7AC23
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7AC23#FFFFFF#000000##000000
##A7AC231.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#BAA730
Tritanopia (blue-blind)
#B3A193
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a7ac23;
/* rgb */ color: rgb(167, 172, 35);
/* oklch */ color: oklch(71.7% 0.149 111.8);
Tailwind
colors: {
  custom: {
    50: '#c5c46b',
    500: '#a7ac23',
    950: '#000000',
  },
}
SCSS
$custom: #a7ac23;
$custom-light: #c5c46b;
$custom-dark: #000000;
JSON
{
  "hex": "#a7ac23",
  "rgb": {
    "r": 167,
    "g": 172,
    "b": 35
  },
  "hsl": {
    "h": 62.19,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.71732,
    "c": 0.14873,
    "h": 111.8
  },
  "luminance": 0.37842
}

Semantic roles & 50–950 ramp

primary
#A7AC23
secondary
#6864C6
accent
#3FE945
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A7AC23

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

Preview Lab → · Contrast checker → · Palette generator →

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