#A2BA27#A2BA27

#A2BA27 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#A2BA27
RGBrgb(162, 186, 39)
HSLhsl(70, 65%, 44%)
HSVhsv(70, 79%, 73%)
CMYKcmyk(12.9%, 0%, 79%, 27.1%)
CIE-LABlab(71.52, -26.43, 65.49)
CIE-LCHlch(71.52, 70.62, 111.98°)
OKLaboklab(74.55% -0.0793 0.1431)
OKLCHoklch(74.55% 0.164 119)
XYZxyz(32.8261, 42.9459, 8.4792)
Luminance0.4295 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2BA27 #3F27BA
analogous
#BA8927 #A2BA27 #59BA27
triadic
#A2BA27 #27A2BA #BA27A2
tetradic
#A2BA27 #27BA89 #3F27BA #BA2759
square
#A2BA27 #27BA89 #3F27BA #BA2759
split-complementary
#A2BA27 #2759BA #8927BA
monochromatic
#4A5512 #76871C #A2BA27 #C0D846 #D1E379

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2BA27#FFFFFF#000000##000000
##A2BA271.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: #a2ba27;
/* rgb */ color: rgb(162, 186, 39);
/* oklch */ color: oklch(74.5% 0.164 119.0);
Tailwind
colors: {
  custom: {
    50: '#c1ce6f',
    500: '#a2ba27',
    950: '#000000',
  },
}
SCSS
$custom: #a2ba27;
$custom-light: #c1ce6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ba27",
  "rgb": {
    "r": 162,
    "g": 186,
    "b": 39
  },
  "hsl": {
    "h": 69.796,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.74546,
    "c": 0.16359,
    "h": 119
  },
  "luminance": 0.42946
}

Semantic roles & 50–950 ramp

primary
#A2BA27
secondary
#8172CB
accent
#40E85B
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2BA27

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

Preview Lab → · Contrast checker → · Palette generator →

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