#A2BA25#A2BA25

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

Color values

HEX#A2BA25
RGBrgb(162, 186, 37)
HSLhsl(70, 67%, 44%)
HSVhsv(70, 80%, 73%)
CMYKcmyk(12.9%, 0%, 80.1%, 27.1%)
CIE-LABlab(71.51, -26.51, 66.05)
CIE-LCHlch(71.51, 71.17, 111.87°)
OKLaboklab(74.54% -0.0797 0.1439)
OKLCHoklch(74.54% 0.165 119)
XYZxyz(32.7939, 42.9330, 8.3092)
Luminance0.4293 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2BA25 #3D25BA
analogous
#BA8725 #A2BA25 #58BA25
triadic
#A2BA25 #25A2BA #BA25A2
tetradic
#A2BA25 #25BA87 #3D25BA #BA2558
square
#A2BA25 #25BA87 #3D25BA #BA2558
split-complementary
#A2BA25 #2558BA #8725BA
monochromatic
#495411 #76871B #A2BA25 #C1DA43 #D2E476

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2BA25#FFFFFF#000000##000000
##A2BA251.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)
#ACB09F
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #a2ba25;
/* rgb */ color: rgb(162, 186, 37);
/* oklch */ color: oklch(74.5% 0.165 119.0);
Tailwind
colors: {
  custom: {
    50: '#c1ce6e',
    500: '#a2ba25',
    950: '#000000',
  },
}
SCSS
$custom: #a2ba25;
$custom-light: #c1ce6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ba25",
  "rgb": {
    "r": 162,
    "g": 186,
    "b": 37
  },
  "hsl": {
    "h": 69.664,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.74536,
    "c": 0.16451,
    "h": 119
  },
  "luminance": 0.42933
}

Semantic roles & 50–950 ramp

primary
#A2BA25
secondary
#7E70CB
accent
#3EEA5A
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2BA25

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

Preview Lab → · Contrast checker → · Palette generator →

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