#A2AD2B#A2AD2B

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

Color values

HEX#A2AD2B
RGBrgb(162, 173, 43)
HSLhsl(65, 60%, 42%)
HSVhsv(65, 75%, 68%)
CMYKcmyk(6.4%, 0%, 75.1%, 32.2%)
CIE-LABlab(67.83, -19.85, 60.86)
CIE-LCHlch(67.83, 64.01, 108.06°)
OKLaboklab(71.59% -0.0608 0.134)
OKLCHoklch(71.59% 0.147 114.4)
XYZxyz(30.2808, 37.7435, 7.9751)
Luminance0.3774 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AD2B #362BAD
analogous
#AD772B #A2AD2B #61AD2B
triadic
#A2AD2B #2BA2AD #AD2BA2
tetradic
#A2AD2B #2BAD77 #362BAD #AD2B61
square
#A2AD2B #2BAD77 #362BAD #AD2B61
split-complementary
#A2AD2B #2B61AD #772BAD
monochromatic
#464B13 #747C1F #A2AD2B #C5D145 #D4DD76

Accessibility & contrast

On white

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

On black

8.55
#A2AD2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AD2B
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AD2B#FFFFFF#000000##000000
##A2AD2B1.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA40D
Deuteranopia (green-blind)
#B9A636
Tritanopia (blue-blind)
#ADA394
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a2ad2b;
/* rgb */ color: rgb(162, 173, 43);
/* oklch */ color: oklch(71.6% 0.147 114.4);
Tailwind
colors: {
  custom: {
    50: '#c1c56f',
    500: '#a2ad2b',
    950: '#000000',
  },
}
SCSS
$custom: #a2ad2b;
$custom-light: #c1c56f;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ad2b",
  "rgb": {
    "r": 162,
    "g": 173,
    "b": 43
  },
  "hsl": {
    "h": 65.077,
    "s": 60.185,
    "l": 42.353
  },
  "oklch": {
    "l": 0.71588,
    "c": 0.14712,
    "h": 114.4
  },
  "luminance": 0.37743
}

Semantic roles & 50–950 ramp

primary
#A2AD2B
secondary
#776FC4
accent
#44E352
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A2AD2B

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

Preview Lab → · Contrast checker → · Palette generator →

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