#A7AC38#A7AC38

#A7AC38 is a light, vivid yellow. Relative luminance 0.380; OKLCH L 71.9% C 0.136 H 111.8°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#A7AC38
RGBrgb(167, 172, 56)
HSLhsl(63, 51%, 45%)
HSVhsv(63, 67%, 67%)
CMYKcmyk(2.9%, 0%, 67.4%, 32.5%)
CIE-LABlab(68.03, -16.52, 56.41)
CIE-LCHlch(68.03, 58.78, 106.32°)
OKLaboklab(71.87% -0.0506 0.1267)
OKLCHoklch(71.87% 0.136 111.8)
XYZxyz(31.4036, 38.0068, 9.4224)
Luminance0.3801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7AC38 #3D38AC
analogous
#AC7738 #A7AC38 #6DAC38
triadic
#A7AC38 #38A7AC #AC38A7
tetradic
#A7AC38 #38AC77 #3D38AC #AC386D
square
#A7AC38 #38AC77 #3D38AC #AC386D
split-complementary
#A7AC38 #386DAC #7738AC
monochromatic
#4D501A #7A7E29 #A7AC38 #C4C958 #D4D887

Accessibility & contrast

On white

2.44
#A7AC38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#A7AC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7AC38
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7AC38#FFFFFF#000000##000000
##A7AC381.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A427
Deuteranopia (green-blind)
#B9A740
Tritanopia (blue-blind)
#B2A295
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a7ac38;
/* rgb */ color: rgb(167, 172, 56);
/* oklch */ color: oklch(71.9% 0.136 111.8);
Tailwind
colors: {
  custom: {
    50: '#c4c475',
    500: '#a7ac38',
    950: '#000000',
  },
}
SCSS
$custom: #a7ac38;
$custom-light: #c4c475;
$custom-dark: #000000;
JSON
{
  "hex": "#a7ac38",
  "rgb": {
    "r": 167,
    "g": 172,
    "b": 56
  },
  "hsl": {
    "h": 62.586,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.71867,
    "c": 0.13639,
    "h": 111.8
  },
  "luminance": 0.38006
}

Semantic roles & 50–950 ramp

primary
#A7AC38
secondary
#817EC2
accent
#4DDA54
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A7AC38

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

Preview Lab → · Contrast checker → · Palette generator →

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