#A8AC27#A8AC27

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

Color values

HEX#A8AC27
RGBrgb(168, 172, 39)
HSLhsl(62, 63%, 41%)
HSVhsv(62, 77%, 67%)
CMYKcmyk(2.3%, 0%, 77.3%, 32.5%)
CIE-LABlab(68.00, -16.92, 62.48)
CIE-LCHlch(68.00, 64.73, 105.15°)
OKLaboklab(71.84% -0.0534 0.1365)
OKLCHoklch(71.84% 0.147 111.4)
XYZxyz(31.2683, 37.9772, 7.6023)
Luminance0.3798 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8AC27 #2B27AC
analogous
#AC6E27 #A8AC27 #66AC27
triadic
#A8AC27 #27A8AC #AC27A8
tetradic
#A8AC27 #27AC6E #2B27AC #AC2766
square
#A8AC27 #27AC6E #2B27AC #AC2766
split-complementary
#A8AC27 #2766AC #6E27AC
monochromatic
#474810 #777A1C #A8AC27 #CFD33D #DBDE6F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8AC27#FFFFFF#000000##000000
##A8AC271.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)
#BAA400
Deuteranopia (green-blind)
#BBA733
Tritanopia (blue-blind)
#B4A193
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a8ac27;
/* rgb */ color: rgb(168, 172, 39);
/* oklch */ color: oklch(71.8% 0.147 111.4);
Tailwind
colors: {
  custom: {
    50: '#c6c46d',
    500: '#a8ac27',
    950: '#000000',
  },
}
SCSS
$custom: #a8ac27;
$custom-light: #c6c46d;
$custom-dark: #000000;
JSON
{
  "hex": "#a8ac27",
  "rgb": {
    "r": 168,
    "g": 172,
    "b": 39
  },
  "hsl": {
    "h": 61.805,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.71837,
    "c": 0.14653,
    "h": 111.4
  },
  "luminance": 0.37976
}

Semantic roles & 50–950 ramp

primary
#A8AC27
secondary
#6C6AC5
accent
#42E647
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A8AC27

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

Preview Lab → · Contrast checker → · Palette generator →

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