#A2AD28#A2AD28

#A2AD28 is a light, vivid yellow. Relative luminance 0.377; OKLCH L 71.6% C 0.149 H 114.4°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#A2AD28
RGBrgb(162, 173, 40)
HSLhsl(65, 62%, 42%)
HSVhsv(65, 77%, 68%)
CMYKcmyk(6.4%, 0%, 76.9%, 32.2%)
CIE-LABlab(67.82, -19.98, 61.82)
CIE-LCHlch(67.82, 64.97, 107.91°)
OKLaboklab(71.57% -0.0614 0.1355)
OKLCHoklch(71.57% 0.149 114.4)
XYZxyz(30.2278, 37.7223, 7.6959)
Luminance0.3772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AD28 #3328AD
analogous
#AD7528 #A2AD28 #60AD28
triadic
#A2AD28 #28A2AD #AD28A2
tetradic
#A2AD28 #28AD75 #3328AD #AD2860
square
#A2AD28 #28AD75 #3328AD #AD2860
split-complementary
#A2AD28 #2860AD #7528AD
monochromatic
#454A11 #737B1D #A2AD28 #C7D33F #D5DE71

Accessibility & contrast

On white

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

On black

8.54
#A2AD28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AD28
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AD28#FFFFFF#000000##000000
##A2AD281.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2ad28;
/* rgb */ color: rgb(162, 173, 40);
/* oklch */ color: oklch(71.6% 0.149 114.4);
Tailwind
colors: {
  custom: {
    50: '#c1c56d',
    500: '#a2ad28',
    950: '#000000',
  },
}
SCSS
$custom: #a2ad28;
$custom-light: #c1c56d;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ad28",
  "rgb": {
    "r": 162,
    "g": 173,
    "b": 40
  },
  "hsl": {
    "h": 64.962,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.71571,
    "c": 0.14876,
    "h": 114.4
  },
  "luminance": 0.37722
}

Semantic roles & 50–950 ramp

primary
#A2AD28
secondary
#736CC5
accent
#42E650
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A2AD28

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

Preview Lab → · Contrast checker → · Palette generator →

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