#A2BA28#A2BA28

#A2BA28 is a light, vivid yellow. Relative luminance 0.430; OKLCH L 74.6% C 0.163 H 119.0°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#A2BA28
RGBrgb(162, 186, 40)
HSLhsl(70, 65%, 44%)
HSVhsv(70, 78%, 73%)
CMYKcmyk(12.9%, 0%, 78.5%, 27.1%)
CIE-LABlab(71.52, -26.39, 65.20)
CIE-LCHlch(71.52, 70.34, 112.04°)
OKLaboklab(74.55% -0.0791 0.1427)
OKLCHoklch(74.55% 0.163 119)
XYZxyz(32.8429, 42.9526, 8.5676)
Luminance0.4295 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2BA28 #4028BA
analogous
#BA8928 #A2BA28 #59BA28
triadic
#A2BA28 #28A2BA #BA28A2
tetradic
#A2BA28 #28BA89 #4028BA #BA2859
square
#A2BA28 #28BA89 #4028BA #BA2859
split-complementary
#A2BA28 #2859BA #8928BA
monochromatic
#4A5512 #76881D #A2BA28 #C0D848 #D1E27A

Accessibility & contrast

On white

2.19
#A2BA28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.59
#A2BA28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2BA28
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2BA28#FFFFFF#000000##000000
##A2BA281.002.199.599.59
#FFFFFF2.191.0021.0021.00
#0000009.5921.001.001.00
##0000009.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF00
Deuteranopia (green-blind)
#C4B036
Tritanopia (blue-blind)
#ACB09F
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #a2ba28;
/* rgb */ color: rgb(162, 186, 40);
/* oklch */ color: oklch(74.6% 0.163 119.0);
Tailwind
colors: {
  custom: {
    50: '#c1ce6f',
    500: '#a2ba28',
    950: '#000000',
  },
}
SCSS
$custom: #a2ba28;
$custom-light: #c1ce6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ba28",
  "rgb": {
    "r": 162,
    "g": 186,
    "b": 40
  },
  "hsl": {
    "h": 69.863,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.74551,
    "c": 0.16312,
    "h": 119
  },
  "luminance": 0.42952
}

Semantic roles & 50–950 ramp

primary
#A2BA28
secondary
#8273CA
accent
#40E85C
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2BA28

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

Preview Lab → · Contrast checker → · Palette generator →

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