#A2B415#A2B415

#A2B415 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#A2B415
RGBrgb(162, 180, 21)
HSLhsl(67, 79%, 39%)
HSVhsv(67, 88%, 71%)
CMYKcmyk(10%, 0%, 88.3%, 29.4%)
CIE-LABlab(69.74, -24.07, 68.28)
CIE-LCHlch(69.74, 72.39, 109.42°)
OKLaboklab(73.09% -0.0739 0.1462)
OKLCHoklch(73.09% 0.164 116.8)
XYZxyz(31.3578, 40.3785, 6.8512)
Luminance0.4038 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B415 #2715B4
analogous
#B47615 #A2B415 #53B415
triadic
#A2B415 #15A2B4 #B415A2
tetradic
#A2B415 #15B476 #2715B4 #B41553
square
#A2B415 #15B476 #2715B4 #B41553
split-complementary
#A2B415 #1553B4 #7615B4
monochromatic
#3F4608 #717D0F #A2B415 #CFE521 #DBEC58

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2B415#FFFFFF#000000##000000
##A2B4151.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)
#BFAB29
Tritanopia (blue-blind)
#ADA999
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a2b415;
/* rgb */ color: rgb(162, 180, 21);
/* oklch */ color: oklch(73.1% 0.164 116.8);
Tailwind
colors: {
  custom: {
    50: '#c2ca67',
    500: '#a2b415',
    950: '#000000',
  },
}
SCSS
$custom: #a2b415;
$custom-light: #c2ca67;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b415",
  "rgb": {
    "r": 162,
    "g": 180,
    "b": 21
  },
  "hsl": {
    "h": 66.792,
    "s": 79.104,
    "l": 39.412
  },
  "oklch": {
    "l": 0.73092,
    "c": 0.16384,
    "h": 116.8
  },
  "luminance": 0.40378
}

Semantic roles & 50–950 ramp

primary
#A2B415
secondary
#6456CF
accent
#32F648
background
#FCFCF6
surface
#F8F8EB
border
#D1D1C6
text
#131307
muted
#82827A

Preview Lab

Preview with #A2B415

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

Preview Lab → · Contrast checker → · Palette generator →

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