#A2BA29#A2BA29

#A2BA29 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#A2BA29
RGBrgb(162, 186, 41)
HSLhsl(70, 64%, 45%)
HSVhsv(70, 78%, 73%)
CMYKcmyk(12.9%, 0%, 78%, 27.1%)
CIE-LABlab(71.53, -26.35, 64.91)
CIE-LCHlch(71.53, 70.05, 112.10°)
OKLaboklab(74.56% -0.0789 0.1422)
OKLCHoklch(74.56% 0.163 119)
XYZxyz(32.8602, 42.9595, 8.6583)
Luminance0.4296 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2BA29 #4129BA
analogous
#BA8A29 #A2BA29 #5ABA29
triadic
#A2BA29 #29A2BA #BA29A2
tetradic
#A2BA29 #29BA8A #4129BA #BA295A
square
#A2BA29 #29BA8A #4129BA #BA295A
split-complementary
#A2BA29 #295ABA #8A29BA
monochromatic
#4B5613 #76881E #A2BA29 #BFD749 #D1E27B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2BA29#FFFFFF#000000##000000
##A2BA291.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)
#C4B037
Tritanopia (blue-blind)
#ACB09F
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #a2ba29;
/* rgb */ color: rgb(162, 186, 41);
/* oklch */ color: oklch(74.6% 0.163 119.0);
Tailwind
colors: {
  custom: {
    50: '#c1ce6f',
    500: '#a2ba29',
    950: '#000000',
  },
}
SCSS
$custom: #a2ba29;
$custom-light: #c1ce6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ba29",
  "rgb": {
    "r": 162,
    "g": 186,
    "b": 41
  },
  "hsl": {
    "h": 69.931,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.74556,
    "c": 0.16263,
    "h": 119
  },
  "luminance": 0.42959
}

Semantic roles & 50–950 ramp

primary
#A2BA29
secondary
#8375CA
accent
#41E75C
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2BA29

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

Preview Lab → · Contrast checker → · Palette generator →

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