#A2AC38#A2AC38

#A2AC38 is a light, vivid yellow. Relative luminance 0.375; OKLCH L 71.5% C 0.138 H 114.1°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#A2AC38
RGBrgb(162, 172, 56)
HSLhsl(65, 51%, 45%)
HSVhsv(65, 67%, 67%)
CMYKcmyk(5.8%, 0%, 67.4%, 32.5%)
CIE-LABlab(67.63, -18.66, 55.88)
CIE-LCHlch(67.63, 58.91, 108.46°)
OKLaboklab(71.45% -0.0563 0.1257)
OKLCHoklch(71.45% 0.138 114.1)
XYZxyz(30.3674, 37.4725, 9.3738)
Luminance0.3747 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AC38 #4238AC
analogous
#AC7C38 #A2AC38 #68AC38
triadic
#A2AC38 #38A2AC #AC38A2
tetradic
#A2AC38 #38AC7C #4238AC #AC3868
square
#A2AC38 #38AC7C #4238AC #AC3868
split-complementary
#A2AC38 #3868AC #7C38AC
monochromatic
#4B501A #777E29 #A2AC38 #BFC958 #D1D887

Accessibility & contrast

On white

2.47
#A2AC38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#A2AC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AC38
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AC38#FFFFFF#000000##000000
##A2AC381.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A427
Deuteranopia (green-blind)
#B8A640
Tritanopia (blue-blind)
#ACA295
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a2ac38;
/* rgb */ color: rgb(162, 172, 56);
/* oklch */ color: oklch(71.5% 0.138 114.1);
Tailwind
colors: {
  custom: {
    50: '#c0c475',
    500: '#a2ac38',
    950: '#000000',
  },
}
SCSS
$custom: #a2ac38;
$custom-light: #c0c475;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ac38",
  "rgb": {
    "r": 162,
    "g": 172,
    "b": 56
  },
  "hsl": {
    "h": 65.172,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.71453,
    "c": 0.13772,
    "h": 114.1
  },
  "luminance": 0.37472
}

Semantic roles & 50–950 ramp

primary
#A2AC38
secondary
#847EC2
accent
#4DDA5A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A2AC38

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

Preview Lab → · Contrast checker → · Palette generator →

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