#A2AD1B#A2AD1B

#A2AD1B is a light, vivid yellow. Relative luminance 0.376; OKLCH L 71.5% C 0.155 H 114.3°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#A2AD1B
RGBrgb(162, 173, 27)
HSLhsl(65, 73%, 39%)
HSVhsv(65, 84%, 68%)
CMYKcmyk(6.4%, 0%, 84.4%, 32.2%)
CIE-LABlab(67.76, -20.44, 65.37)
CIE-LCHlch(67.76, 68.50, 107.37°)
OKLaboklab(71.51% -0.0637 0.1408)
OKLCHoklch(71.51% 0.155 114.3)
XYZxyz(30.0427, 37.6483, 6.7209)
Luminance0.3765 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AD1B #261BAD
analogous
#AD6F1B #A2AD1B #59AD1B
triadic
#A2AD1B #1BA2AD #AD1BA2
tetradic
#A2AD1B #1BAD6F #261BAD #AD1B59
square
#A2AD1B #1BAD6F #261BAD #AD1B59
split-complementary
#A2AD1B #1B59AD #6F1BAD
monochromatic
#3F430A #707813 #A2AD1B #D0DD28 #DBE65D

Accessibility & contrast

On white

2.46
#A2AD1B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#A2AD1B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AD1B
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AD1B#FFFFFF#000000##000000
##A2AD1B1.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#BAA62B
Tritanopia (blue-blind)
#ADA294
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a2ad1b;
/* rgb */ color: rgb(162, 173, 27);
/* oklch */ color: oklch(71.5% 0.155 114.3);
Tailwind
colors: {
  custom: {
    50: '#c2c568',
    500: '#a2ad1b',
    950: '#000000',
  },
}
SCSS
$custom: #a2ad1b;
$custom-light: #c2c568;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ad1b",
  "rgb": {
    "r": 162,
    "g": 173,
    "b": 27
  },
  "hsl": {
    "h": 64.521,
    "s": 73,
    "l": 39.216
  },
  "oklch": {
    "l": 0.71509,
    "c": 0.15454,
    "h": 114.3
  },
  "luminance": 0.37648
}

Semantic roles & 50–950 ramp

primary
#A2AD1B
secondary
#635ACA
accent
#38F046
background
#FCFCF6
surface
#F8F8EB
border
#D1D1C6
text
#131207
muted
#82817A

Preview Lab

Preview with #A2AD1B

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

Preview Lab → · Contrast checker → · Palette generator →

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