#A7AC27#A7AC27

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

Color values

HEX#A7AC27
RGBrgb(167, 172, 39)
HSLhsl(62, 63%, 41%)
HSVhsv(62, 77%, 67%)
CMYKcmyk(2.9%, 0%, 77.3%, 32.5%)
CIE-LABlab(67.92, -17.36, 62.38)
CIE-LCHlch(67.92, 64.75, 105.55°)
OKLaboklab(71.75% -0.0545 0.1363)
OKLCHoklch(71.75% 0.147 111.8)
XYZxyz(31.0561, 37.8678, 7.5923)
Luminance0.3787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7AC27 #2C27AC
analogous
#AC6F27 #A7AC27 #65AC27
triadic
#A7AC27 #27A7AC #AC27A7
tetradic
#A7AC27 #27AC6F #2C27AC #AC2765
square
#A7AC27 #27AC6F #2C27AC #AC2765
split-complementary
#A7AC27 #2765AC #6F27AC
monochromatic
#464810 #777A1C #A7AC27 #CDD33D #DADE6F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #a7ac27;
/* rgb */ color: rgb(167, 172, 39);
/* oklch */ color: oklch(71.8% 0.147 111.8);
Tailwind
colors: {
  custom: {
    50: '#c5c46d',
    500: '#a7ac27',
    950: '#000000',
  },
}
SCSS
$custom: #a7ac27;
$custom-light: #c5c46d;
$custom-dark: #000000;
JSON
{
  "hex": "#a7ac27",
  "rgb": {
    "r": 167,
    "g": 172,
    "b": 39
  },
  "hsl": {
    "h": 62.256,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.71753,
    "c": 0.14679,
    "h": 111.8
  },
  "luminance": 0.37867
}

Semantic roles & 50–950 ramp

primary
#A7AC27
secondary
#6D6AC5
accent
#42E648
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A7AC27

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

Preview Lab → · Contrast checker → · Palette generator →

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