#A8AC38#A8AC38

#A8AC38 is a light, vivid yellow. Relative luminance 0.381; OKLCH L 72.0% C 0.136 H 111.3°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#A8AC38
RGBrgb(168, 172, 56)
HSLhsl(62, 51%, 45%)
HSVhsv(62, 67%, 67%)
CMYKcmyk(2.3%, 0%, 67.4%, 32.5%)
CIE-LABlab(68.11, -16.09, 56.52)
CIE-LCHlch(68.11, 58.76, 105.89°)
OKLaboklab(71.95% -0.0494 0.1269)
OKLCHoklch(71.95% 0.136 111.3)
XYZxyz(31.6158, 38.1162, 9.4323)
Luminance0.3811 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8AC38 #3C38AC
analogous
#AC7638 #A8AC38 #6EAC38
triadic
#A8AC38 #38A8AC #AC38A8
tetradic
#A8AC38 #38AC76 #3C38AC #AC386E
square
#A8AC38 #38AC76 #3C38AC #AC386E
split-complementary
#A8AC38 #386EAC #7638AC
monochromatic
#4E501A #7B7E29 #A8AC38 #C5C958 #D5D887

Accessibility & contrast

On white

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

On black

8.62
#A8AC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8AC38
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8AC38#FFFFFF#000000##000000
##A8AC381.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8ac38;
/* rgb */ color: rgb(168, 172, 56);
/* oklch */ color: oklch(72.0% 0.136 111.3);
Tailwind
colors: {
  custom: {
    50: '#c5c475',
    500: '#a8ac38',
    950: '#000000',
  },
}
SCSS
$custom: #a8ac38;
$custom-light: #c5c475;
$custom-dark: #000000;
JSON
{
  "hex": "#a8ac38",
  "rgb": {
    "r": 168,
    "g": 172,
    "b": 56
  },
  "hsl": {
    "h": 62.069,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.71952,
    "c": 0.13616,
    "h": 111.3
  },
  "luminance": 0.38115
}

Semantic roles & 50–950 ramp

primary
#A8AC38
secondary
#807EC2
accent
#4DDA52
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A8AC38

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

Preview Lab → · Contrast checker → · Palette generator →

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