#A2AC3B#A2AC3B

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

Color values

HEX#A2AC3B
RGBrgb(162, 172, 59)
HSLhsl(65, 49%, 45%)
HSVhsv(65, 66%, 67%)
CMYKcmyk(5.8%, 0%, 65.7%, 32.5%)
CIE-LABlab(67.65, -18.47, 54.68)
CIE-LCHlch(67.65, 57.72, 108.66°)
OKLaboklab(71.48% -0.0555 0.1236)
OKLCHoklch(71.48% 0.136 114.2)
XYZxyz(30.4430, 37.5027, 9.7719)
Luminance0.3750 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AC3B #453BAC
analogous
#AC7E3B #A2AC3B #69AC3B
triadic
#A2AC3B #3BA2AC #AC3BA2
tetradic
#A2AC3B #3BAC7E #453BAC #AC3B69
square
#A2AC3B #3BAC7E #453BAC #AC3B69
split-complementary
#A2AC3B #3B69AC #7E3BAC
monochromatic
#4C511C #777E2B #A2AC3B #BEC75D #D0D78A

Accessibility & contrast

On white

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

On black

8.50
#A2AC3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AC3B
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AC3B#FFFFFF#000000##000000
##A2AC3B1.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2ac3b;
/* rgb */ color: rgb(162, 172, 59);
/* oklch */ color: oklch(71.5% 0.136 114.2);
Tailwind
colors: {
  custom: {
    50: '#c0c477',
    500: '#a2ac3b',
    950: '#000000',
  },
}
SCSS
$custom: #a2ac3b;
$custom-light: #c0c477;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ac3b",
  "rgb": {
    "r": 162,
    "g": 172,
    "b": 59
  },
  "hsl": {
    "h": 65.31,
    "s": 48.918,
    "l": 45.294
  },
  "oklch": {
    "l": 0.71478,
    "c": 0.13551,
    "h": 114.2
  },
  "luminance": 0.37502
}

Semantic roles & 50–950 ramp

primary
#A2AC3B
secondary
#8781C1
accent
#4FD85B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A2AC3B

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

Preview Lab → · Contrast checker → · Palette generator →

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