#A2B024#A2B024

#A2B024 is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.2% C 0.154 H 115.5°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#A2B024
RGBrgb(162, 176, 36)
HSLhsl(66, 66%, 42%)
HSVhsv(66, 80%, 69%)
CMYKcmyk(8%, 0%, 79.5%, 31%)
CIE-LABlab(68.65, -21.64, 63.78)
CIE-LCHlch(68.65, 67.35, 108.74°)
OKLaboklab(72.23% -0.0664 0.1389)
OKLCHoklch(72.23% 0.154 115.5)
XYZxyz(30.7450, 38.8599, 7.5498)
Luminance0.3886 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B024 #3224B0
analogous
#B07824 #A2B024 #5CB024
triadic
#A2B024 #24A2B0 #B024A2
tetradic
#A2B024 #24B078 #3224B0 #B0245C
square
#A2B024 #24B078 #3224B0 #B0245C
split-complementary
#A2B024 #245CB0 #7824B0
monochromatic
#444A0F #737D1A #A2B024 #C7D73A #D6E16D

Accessibility & contrast

On white

2.39
#A2B024 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#A2B024 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B024
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B024#FFFFFF#000000##000000
##A2B0241.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA700
Deuteranopia (green-blind)
#BCA832
Tritanopia (blue-blind)
#ADA597
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a2b024;
/* rgb */ color: rgb(162, 176, 36);
/* oklch */ color: oklch(72.2% 0.154 115.5);
Tailwind
colors: {
  custom: {
    50: '#c1c76c',
    500: '#a2b024',
    950: '#000000',
  },
}
SCSS
$custom: #a2b024;
$custom-light: #c1c76c;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b024",
  "rgb": {
    "r": 162,
    "g": 176,
    "b": 36
  },
  "hsl": {
    "h": 66,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.72234,
    "c": 0.15397,
    "h": 115.5
  },
  "luminance": 0.38859
}

Semantic roles & 50–950 ramp

primary
#A2B024
secondary
#7268C8
accent
#3FE950
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A2B024

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

Preview Lab → · Contrast checker → · Palette generator →

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