#A7AC30#A7AC30

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

Color values

HEX#A7AC30
RGBrgb(167, 172, 48)
HSLhsl(62, 56%, 43%)
HSVhsv(62, 72%, 67%)
CMYKcmyk(2.9%, 0%, 72.1%, 32.5%)
CIE-LABlab(67.97, -16.95, 59.39)
CIE-LCHlch(67.97, 61.77, 105.93°)
OKLaboklab(71.81% -0.0526 0.1316)
OKLCHoklch(71.81% 0.142 111.8)
XYZxyz(31.2234, 37.9347, 8.4731)
Luminance0.3793 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7AC30 #3530AC
analogous
#AC7330 #A7AC30 #69AC30
triadic
#A7AC30 #30A7AC #AC30A7
tetradic
#A7AC30 #30AC73 #3530AC #AC3069
square
#A7AC30 #30AC73 #3530AC #AC3069
split-complementary
#A7AC30 #3069AC #7330AC
monochromatic
#4A4C15 #797C23 #A7AC30 #C8CD4C #D7DA7C

Accessibility & contrast

On white

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

On black

8.59
#A7AC30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7AC30
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7AC30#FFFFFF#000000##000000
##A7AC301.002.458.598.59
#FFFFFF2.451.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A419
Deuteranopia (green-blind)
#BAA73A
Tritanopia (blue-blind)
#B3A194
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a7ac30;
/* rgb */ color: rgb(167, 172, 48);
/* oklch */ color: oklch(71.8% 0.142 111.8);
Tailwind
colors: {
  custom: {
    50: '#c4c471',
    500: '#a7ac30',
    950: '#000000',
  },
}
SCSS
$custom: #a7ac30;
$custom-light: #c4c471;
$custom-dark: #000000;
JSON
{
  "hex": "#a7ac30",
  "rgb": {
    "r": 167,
    "g": 172,
    "b": 48
  },
  "hsl": {
    "h": 62.419,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.71808,
    "c": 0.14171,
    "h": 111.8
  },
  "luminance": 0.37934
}

Semantic roles & 50–950 ramp

primary
#A7AC30
secondary
#7875C3
accent
#48E04E
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A7AC30

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

Preview Lab → · Contrast checker → · Palette generator →

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