#A2AC27#A2AC27

#A2AC27 is a light, vivid yellow. Relative luminance 0.373; OKLCH L 71.3% C 0.148 H 114.0°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#A2AC27
RGBrgb(162, 172, 39)
HSLhsl(65, 63%, 41%)
HSVhsv(65, 77%, 67%)
CMYKcmyk(5.8%, 0%, 77.3%, 32.5%)
CIE-LABlab(67.53, -19.52, 61.87)
CIE-LCHlch(67.53, 64.87, 107.51°)
OKLaboklab(71.34% -0.0603 0.1354)
OKLCHoklch(71.34% 0.148 114)
XYZxyz(30.0199, 37.3335, 7.5438)
Luminance0.3733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AC27 #3127AC
analogous
#AC7427 #A2AC27 #60AC27
triadic
#A2AC27 #27A2AC #AC27A2
tetradic
#A2AC27 #27AC74 #3127AC #AC2760
square
#A2AC27 #27AC74 #3127AC #AC2760
split-complementary
#A2AC27 #2760AC #7427AC
monochromatic
#444810 #737A1C #A2AC27 #C8D33D #D6DE6F

Accessibility & contrast

On white

2.48
#A2AC27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#A2AC27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AC27
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AC27#FFFFFF#000000##000000
##A2AC271.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#B9A633
Tritanopia (blue-blind)
#ADA193
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a2ac27;
/* rgb */ color: rgb(162, 172, 39);
/* oklch */ color: oklch(71.3% 0.148 114.0);
Tailwind
colors: {
  custom: {
    50: '#c1c46d',
    500: '#a2ac27',
    950: '#000000',
  },
}
SCSS
$custom: #a2ac27;
$custom-light: #c1c46d;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ac27",
  "rgb": {
    "r": 162,
    "g": 172,
    "b": 39
  },
  "hsl": {
    "h": 64.511,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.71337,
    "c": 0.14819,
    "h": 114
  },
  "luminance": 0.37333
}

Semantic roles & 50–950 ramp

primary
#A2AC27
secondary
#716AC5
accent
#42E64E
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A2AC27

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

Preview Lab → · Contrast checker → · Palette generator →

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