#A2AC3E#A2AC3E

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

Color values

HEX#A2AC3E
RGBrgb(162, 172, 62)
HSLhsl(65, 47%, 46%)
HSVhsv(65, 64%, 67%)
CMYKcmyk(5.8%, 0%, 64%, 32.5%)
CIE-LABlab(67.68, -18.27, 53.46)
CIE-LCHlch(67.68, 56.49, 108.87°)
OKLaboklab(71.51% -0.0546 0.1215)
OKLCHoklch(71.51% 0.133 114.2)
XYZxyz(30.5231, 37.5348, 10.1935)
Luminance0.3753 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AC3E #483EAC
analogous
#AC7F3E #A2AC3E #6BAC3E
triadic
#A2AC3E #3EA2AC #AC3EA2
tetradic
#A2AC3E #3EAC7F #483EAC #AC3E6B
square
#A2AC3E #3EAC7F #483EAC #AC3E6B
split-complementary
#A2AC3E #3E6BAC #7F3EAC
monochromatic
#4D521E #787F2E #A2AC3E #BDC661 #D0D68E

Accessibility & contrast

On white

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

On black

8.51
#A2AC3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AC3E
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AC3E#FFFFFF#000000##000000
##A2AC3E1.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2ac3e;
/* rgb */ color: rgb(162, 172, 62);
/* oklch */ color: oklch(71.5% 0.133 114.2);
Tailwind
colors: {
  custom: {
    50: '#c0c479',
    500: '#a2ac3e',
    950: '#000000',
  },
}
SCSS
$custom: #a2ac3e;
$custom-light: #c0c479;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ac3e",
  "rgb": {
    "r": 162,
    "g": 172,
    "b": 62
  },
  "hsl": {
    "h": 65.455,
    "s": 47.009,
    "l": 45.882
  },
  "oklch": {
    "l": 0.71505,
    "c": 0.1332,
    "h": 114.2
  },
  "luminance": 0.37534
}

Semantic roles & 50–950 ramp

primary
#A2AC3E
secondary
#8A85C1
accent
#51D75D
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#131209
muted
#82817B

Preview Lab

Preview with #A2AC3E

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

Preview Lab → · Contrast checker → · Palette generator →

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