#A7AC28#A7AC28

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

Color values

HEX#A7AC28
RGBrgb(167, 172, 40)
HSLhsl(62, 62%, 42%)
HSVhsv(62, 77%, 67%)
CMYKcmyk(2.9%, 0%, 76.7%, 32.5%)
CIE-LABlab(67.93, -17.32, 62.07)
CIE-LCHlch(67.93, 64.44, 105.59°)
OKLaboklab(71.76% -0.0543 0.1358)
OKLCHoklch(71.76% 0.146 111.8)
XYZxyz(31.0729, 37.8745, 7.6807)
Luminance0.3787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7AC28 #2D28AC
analogous
#AC6F28 #A7AC28 #65AC28
triadic
#A7AC28 #28A7AC #AC28A7
tetradic
#A7AC28 #28AC6F #2D28AC #AC2865
square
#A7AC28 #28AC6F #2D28AC #AC2865
split-complementary
#A7AC28 #2865AC #6F28AC
monochromatic
#474911 #777A1C #A7AC28 #CDD23F #DADE71

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7AC28#FFFFFF#000000##000000
##A7AC281.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)
#BAA403
Deuteranopia (green-blind)
#BAA733
Tritanopia (blue-blind)
#B3A193
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a7ac28;
/* rgb */ color: rgb(167, 172, 40);
/* oklch */ color: oklch(71.8% 0.146 111.8);
Tailwind
colors: {
  custom: {
    50: '#c5c46d',
    500: '#a7ac28',
    950: '#000000',
  },
}
SCSS
$custom: #a7ac28;
$custom-light: #c5c46d;
$custom-dark: #000000;
JSON
{
  "hex": "#a7ac28",
  "rgb": {
    "r": 167,
    "g": 172,
    "b": 40
  },
  "hsl": {
    "h": 62.273,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.71758,
    "c": 0.14627,
    "h": 111.8
  },
  "luminance": 0.37874
}

Semantic roles & 50–950 ramp

primary
#A7AC28
secondary
#6E6BC5
accent
#42E549
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A7AC28

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

Preview Lab → · Contrast checker → · Palette generator →

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