#A2BA26#A2BA26

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

Color values

HEX#A2BA26
RGBrgb(162, 186, 38)
HSLhsl(70, 66%, 44%)
HSVhsv(70, 80%, 73%)
CMYKcmyk(12.9%, 0%, 79.6%, 27.1%)
CIE-LABlab(71.51, -26.47, 65.77)
CIE-LCHlch(71.51, 70.90, 111.92°)
OKLaboklab(74.54% -0.0795 0.1435)
OKLCHoklch(74.54% 0.164 119)
XYZxyz(32.8098, 42.9394, 8.3930)
Luminance0.4294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2BA26 #3E26BA
analogous
#BA8826 #A2BA26 #58BA26
triadic
#A2BA26 #26A2BA #BA26A2
tetradic
#A2BA26 #26BA88 #3E26BA #BA2658
square
#A2BA26 #26BA88 #3E26BA #BA2658
split-complementary
#A2BA26 #2658BA #8826BA
monochromatic
#495411 #76871C #A2BA26 #C1D944 #D2E377

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #a2ba26;
/* rgb */ color: rgb(162, 186, 38);
/* oklch */ color: oklch(74.5% 0.164 119.0);
Tailwind
colors: {
  custom: {
    50: '#c1ce6e',
    500: '#a2ba26',
    950: '#000000',
  },
}
SCSS
$custom: #a2ba26;
$custom-light: #c1ce6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ba26",
  "rgb": {
    "r": 162,
    "g": 186,
    "b": 38
  },
  "hsl": {
    "h": 69.73,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.74541,
    "c": 0.16406,
    "h": 119
  },
  "luminance": 0.42939
}

Semantic roles & 50–950 ramp

primary
#A2BA26
secondary
#8071CB
accent
#3FE95A
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2BA26

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

Preview Lab → · Contrast checker → · Palette generator →

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