#A2B424#A2B424

#A2B424 is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.2% C 0.158 H 117.0°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#A2B424
RGBrgb(162, 180, 36)
HSLhsl(68, 67%, 42%)
HSVhsv(68, 80%, 71%)
CMYKcmyk(10%, 0%, 80%, 29.4%)
CIE-LABlab(69.79, -23.62, 64.80)
CIE-LCHlch(69.79, 68.97, 110.03°)
OKLaboklab(73.15% -0.0718 0.1411)
OKLCHoklch(73.15% 0.158 117)
XYZxyz(31.5408, 40.4517, 7.8151)
Luminance0.4045 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B424 #3624B4
analogous
#B47E24 #A2B424 #5AB424
triadic
#A2B424 #24A2B4 #B424A2
tetradic
#A2B424 #24B47E #3624B4 #B4245A
square
#A2B424 #24B47E #3624B4 #B4245A
split-complementary
#A2B424 #245AB4 #7E24B4
monochromatic
#464E10 #74811A #A2B424 #C5D83D #D4E270

Accessibility & contrast

On white

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

On black

9.09
#A2B424 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B424
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B424#FFFFFF#000000##000000
##A2B4241.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2b424;
/* rgb */ color: rgb(162, 180, 36);
/* oklch */ color: oklch(73.2% 0.158 117.0);
Tailwind
colors: {
  custom: {
    50: '#c1ca6d',
    500: '#a2b424',
    950: '#000000',
  },
}
SCSS
$custom: #a2b424;
$custom-light: #c1ca6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b424",
  "rgb": {
    "r": 162,
    "g": 180,
    "b": 36
  },
  "hsl": {
    "h": 67.5,
    "s": 66.667,
    "l": 42.353
  },
  "oklch": {
    "l": 0.7315,
    "c": 0.15832,
    "h": 117
  },
  "luminance": 0.40451
}

Semantic roles & 50–950 ramp

primary
#A2B424
secondary
#776BC9
accent
#3EEA54
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A2B424

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

Preview Lab → · Contrast checker → · Palette generator →

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