#A2BB38#A2BB38

#A2BB38 is a light, vivid yellow-green. Relative luminance 0.435; OKLCH L 74.9% C 0.155 H 119.7°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#A2BB38
RGBrgb(162, 187, 56)
HSLhsl(71, 54%, 48%)
HSVhsv(71, 70%, 73%)
CMYKcmyk(13.4%, 0%, 70.1%, 26.7%)
CIE-LABlab(71.90, -26.09, 60.19)
CIE-LCHlch(71.90, 65.60, 113.44°)
OKLaboklab(74.88% -0.0769 0.1347)
OKLCHoklch(74.88% 0.155 119.7)
XYZxyz(33.3850, 43.5077, 10.3797)
Luminance0.4351 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2BB38 #5138BB
analogous
#BB9238 #A2BB38 #61BB38
triadic
#A2BB38 #38A2BB #BB38A2
tetradic
#A2BB38 #38BB92 #5138BB #BB3861
square
#A2BB38 #38BB92 #5138BB #BB3861
split-complementary
#A2BB38 #3861BB #9238BB
monochromatic
#505D1C #798C2A #A2BB38 #BAD061 #CFDE90

Accessibility & contrast

On white

2.16
#A2BB38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.70
#A2BB38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2BB38
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2BB38#FFFFFF#000000##000000
##A2BB381.002.169.709.70
#FFFFFF2.161.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B022
Deuteranopia (green-blind)
#C4B143
Tritanopia (blue-blind)
#ABB1A1
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a2bb38;
/* rgb */ color: rgb(162, 187, 56);
/* oklch */ color: oklch(74.9% 0.155 119.7);
Tailwind
colors: {
  custom: {
    50: '#c1cf77',
    500: '#a2bb38',
    950: '#000000',
  },
}
SCSS
$custom: #a2bb38;
$custom-light: #c1cf77;
$custom-dark: #000000;
JSON
{
  "hex": "#a2bb38",
  "rgb": {
    "r": 162,
    "g": 187,
    "b": 56
  },
  "hsl": {
    "h": 71.45,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.74882,
    "c": 0.15516,
    "h": 119.7
  },
  "luminance": 0.43508
}

Semantic roles & 50–950 ramp

primary
#A2BB38
secondary
#9386C8
accent
#4BDD67
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#131309
muted
#82827B

Preview Lab

Preview with #A2BB38

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

Preview Lab → · Contrast checker → · Palette generator →

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