#A7AC26#A7AC26

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

Color values

HEX#A7AC26
RGBrgb(167, 172, 38)
HSLhsl(62, 64%, 41%)
HSVhsv(62, 78%, 67%)
CMYKcmyk(2.9%, 0%, 77.9%, 32.5%)
CIE-LABlab(67.92, -17.40, 62.68)
CIE-LCHlch(67.92, 65.05, 105.51°)
OKLaboklab(71.75% -0.0547 0.1368)
OKLCHoklch(71.75% 0.147 111.8)
XYZxyz(31.0398, 37.8613, 7.5062)
Luminance0.3786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7AC26 #2B26AC
analogous
#AC6E26 #A7AC26 #64AC26
triadic
#A7AC26 #26A7AC #AC26A7
tetradic
#A7AC26 #26AC6E #2B26AC #AC2664
square
#A7AC26 #26AC6E #2B26AC #AC2664
split-complementary
#A7AC26 #2664AC #6E26AC
monochromatic
#464810 #767A1B #A7AC26 #CED43B #DBDF6E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7AC26#FFFFFF#000000##000000
##A7AC261.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)
#BAA732
Tritanopia (blue-blind)
#B3A193
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a7ac26;
/* rgb */ color: rgb(167, 172, 38);
/* oklch */ color: oklch(71.7% 0.147 111.8);
Tailwind
colors: {
  custom: {
    50: '#c5c46c',
    500: '#a7ac26',
    950: '#000000',
  },
}
SCSS
$custom: #a7ac26;
$custom-light: #c5c46c;
$custom-dark: #000000;
JSON
{
  "hex": "#a7ac26",
  "rgb": {
    "r": 167,
    "g": 172,
    "b": 38
  },
  "hsl": {
    "h": 62.239,
    "s": 63.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.71747,
    "c": 0.14729,
    "h": 111.8
  },
  "luminance": 0.3786
}

Semantic roles & 50–950 ramp

primary
#A7AC26
secondary
#6C68C5
accent
#41E747
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A7AC26

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

Preview Lab → · Contrast checker → · Palette generator →

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