#A2B416#A2B416

#A2B416 is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.1% C 0.164 H 116.8°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#A2B416
RGBrgb(162, 180, 22)
HSLhsl(67, 78%, 40%)
HSVhsv(67, 88%, 71%)
CMYKcmyk(10%, 0%, 87.8%, 29.4%)
CIE-LABlab(69.74, -24.05, 68.09)
CIE-LCHlch(69.74, 72.21, 109.45°)
OKLaboklab(73.1% -0.0738 0.1459)
OKLCHoklch(73.1% 0.164 116.8)
XYZxyz(31.3673, 40.3823, 6.9010)
Luminance0.4038 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B416 #2816B4
analogous
#B47716 #A2B416 #53B416
triadic
#A2B416 #16A2B4 #B416A2
tetradic
#A2B416 #16B477 #2816B4 #B41653
square
#A2B416 #16B477 #2816B4 #B41653
split-complementary
#A2B416 #1653B4 #7716B4
monochromatic
#404709 #717D0F #A2B416 #CEE423 #DAEB5A

Accessibility & contrast

On white

2.31
#A2B416 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#A2B416 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B416
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B416#FFFFFF#000000##000000
##A2B4161.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#BFAB2A
Tritanopia (blue-blind)
#ADA999
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a2b416;
/* rgb */ color: rgb(162, 180, 22);
/* oklch */ color: oklch(73.1% 0.164 116.8);
Tailwind
colors: {
  custom: {
    50: '#c2ca68',
    500: '#a2b416',
    950: '#000000',
  },
}
SCSS
$custom: #a2b416;
$custom-light: #c2ca68;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b416",
  "rgb": {
    "r": 162,
    "g": 180,
    "b": 22
  },
  "hsl": {
    "h": 66.835,
    "s": 78.218,
    "l": 39.608
  },
  "oklch": {
    "l": 0.73095,
    "c": 0.16355,
    "h": 116.8
  },
  "luminance": 0.40382
}

Semantic roles & 50–950 ramp

primary
#A2B416
secondary
#6558CE
accent
#33F549
background
#FCFCF6
surface
#F8F8EB
border
#D1D1C6
text
#131307
muted
#82827A

Preview Lab

Preview with #A2B416

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

Preview Lab → · Contrast checker → · Palette generator →

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