#A2AD40#A2AD40

#A2AD40 is a light, vivid yellow. Relative luminance 0.379; OKLCH L 71.8% C 0.133 H 114.7°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#A2AD40
RGBrgb(162, 173, 64)
HSLhsl(66, 46%, 46%)
HSVhsv(66, 63%, 68%)
CMYKcmyk(6.4%, 0%, 63%, 32.2%)
CIE-LABlab(67.98, -18.64, 52.92)
CIE-LCHlch(67.98, 56.11, 109.41°)
OKLaboklab(71.75% -0.0554 0.1207)
OKLCHoklch(71.75% 0.133 114.7)
XYZxyz(30.7700, 37.9392, 10.5516)
Luminance0.3794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AD40 #4B40AD
analogous
#AD8240 #A2AD40 #6CAD40
triadic
#A2AD40 #40A2AD #AD40A2
tetradic
#A2AD40 #40AD82 #4B40AD #AD406C
square
#A2AD40 #40AD82 #4B40AD #AD406C
split-complementary
#A2AD40 #406CAD #8240AD
monochromatic
#4E541F #78802F #A2AD40 #BCC664 #CFD691

Accessibility & contrast

On white

2.45
#A2AD40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#A2AD40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AD40
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AD40#FFFFFF#000000##000000
##A2AD401.002.458.598.59
#FFFFFF2.451.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A532
Deuteranopia (green-blind)
#B8A747
Tritanopia (blue-blind)
#ACA396
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a2ad40;
/* rgb */ color: rgb(162, 173, 64);
/* oklch */ color: oklch(71.8% 0.133 114.7);
Tailwind
colors: {
  custom: {
    50: '#c0c57a',
    500: '#a2ad40',
    950: '#000000',
  },
}
SCSS
$custom: #a2ad40;
$custom-light: #c0c57a;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ad40",
  "rgb": {
    "r": 162,
    "g": 173,
    "b": 64
  },
  "hsl": {
    "h": 66.055,
    "s": 45.992,
    "l": 46.471
  },
  "oklch": {
    "l": 0.7175,
    "c": 0.13278,
    "h": 114.7
  },
  "luminance": 0.37939
}

Semantic roles & 50–950 ramp

primary
#A2AD40
secondary
#8D87C2
accent
#52D65F
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#131209
muted
#82817B

Preview Lab

Preview with #A2AD40

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

Preview Lab → · Contrast checker → · Palette generator →

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