#A2BA24#A2BA24

#A2BA24 is a light, vivid yellow. Relative luminance 0.429; OKLCH L 74.5% C 0.165 H 118.9°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#A2BA24
RGBrgb(162, 186, 36)
HSLhsl(70, 68%, 44%)
HSVhsv(70, 81%, 73%)
CMYKcmyk(12.9%, 0%, 80.6%, 27.1%)
CIE-LABlab(71.51, -26.54, 66.32)
CIE-LCHlch(71.51, 71.43, 111.81°)
OKLaboklab(74.53% -0.0798 0.1444)
OKLCHoklch(74.53% 0.165 118.9)
XYZxyz(32.7784, 42.9268, 8.2276)
Luminance0.4293 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2BA24 #3C24BA
analogous
#BA8724 #A2BA24 #57BA24
triadic
#A2BA24 #24A2BA #BA24A2
tetradic
#A2BA24 #24BA87 #3C24BA #BA2457
square
#A2BA24 #24BA87 #3C24BA #BA2457
split-complementary
#A2BA24 #2457BA #8724BA
monochromatic
#495310 #75871A #A2BA24 #C2DA41 #D2E474

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2BA24#FFFFFF#000000##000000
##A2BA241.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)
#C7AF00
Deuteranopia (green-blind)
#C4B034
Tritanopia (blue-blind)
#ACAF9F
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #a2ba24;
/* rgb */ color: rgb(162, 186, 36);
/* oklch */ color: oklch(74.5% 0.165 118.9);
Tailwind
colors: {
  custom: {
    50: '#c1ce6d',
    500: '#a2ba24',
    950: '#000000',
  },
}
SCSS
$custom: #a2ba24;
$custom-light: #c1ce6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ba24",
  "rgb": {
    "r": 162,
    "g": 186,
    "b": 36
  },
  "hsl": {
    "h": 69.6,
    "s": 67.568,
    "l": 43.529
  },
  "oklch": {
    "l": 0.74531,
    "c": 0.16495,
    "h": 118.9
  },
  "luminance": 0.42927
}

Semantic roles & 50–950 ramp

primary
#A2BA24
secondary
#7D6ECB
accent
#3DEA59
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2BA24

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

Preview Lab → · Contrast checker → · Palette generator →

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