#A2B028#A2B028

#A2B028 is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.3% C 0.152 H 115.6°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#A2B028
RGBrgb(162, 176, 40)
HSLhsl(66, 63%, 42%)
HSVhsv(66, 77%, 69%)
CMYKcmyk(8%, 0%, 77.3%, 31%)
CIE-LABlab(68.67, -21.48, 62.60)
CIE-LCHlch(68.67, 66.18, 108.94°)
OKLaboklab(72.26% -0.0656 0.1371)
OKLCHoklch(72.26% 0.152 115.6)
XYZxyz(30.8095, 38.8858, 7.8898)
Luminance0.3888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B028 #3628B0
analogous
#B07A28 #A2B028 #5EB028
triadic
#A2B028 #28A2B0 #B028A2
tetradic
#A2B028 #28B07A #3628B0 #B0285E
square
#A2B028 #28B07A #3628B0 #B0285E
split-complementary
#A2B028 #285EB0 #7A28B0
monochromatic
#464C11 #747E1D #A2B028 #C5D441 #D4DF73

Accessibility & contrast

On white

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

On black

8.78
#A2B028 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B028
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B028#FFFFFF#000000##000000
##A2B0281.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2b028;
/* rgb */ color: rgb(162, 176, 40);
/* oklch */ color: oklch(72.3% 0.152 115.6);
Tailwind
colors: {
  custom: {
    50: '#c1c76e',
    500: '#a2b028',
    950: '#000000',
  },
}
SCSS
$custom: #a2b028;
$custom-light: #c1c76e;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b028",
  "rgb": {
    "r": 162,
    "g": 176,
    "b": 40
  },
  "hsl": {
    "h": 66.176,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.72255,
    "c": 0.15202,
    "h": 115.6
  },
  "luminance": 0.38885
}

Semantic roles & 50–950 ramp

primary
#A2B028
secondary
#776DC6
accent
#42E653
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2B028

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

Preview Lab → · Contrast checker → · Palette generator →

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