#A2BC38#A2BC38

#A2BC38 is a light, vivid yellow-green. Relative luminance 0.439; OKLCH L 75.1% C 0.156 H 120.0°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#A2BC38
RGBrgb(162, 188, 56)
HSLhsl(72, 54%, 48%)
HSVhsv(72, 70%, 74%)
CMYKcmyk(13.8%, 0%, 70.2%, 26.3%)
CIE-LABlab(72.18, -26.57, 60.47)
CIE-LCHlch(72.18, 66.05, 113.72°)
OKLaboklab(75.11% -0.0783 0.1353)
OKLCHoklch(75.11% 0.156 120)
XYZxyz(33.5979, 43.9335, 10.4506)
Luminance0.4393 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2BC38 #5238BC
analogous
#BC9438 #A2BC38 #60BC38
triadic
#A2BC38 #38A2BC #BC38A2
tetradic
#A2BC38 #38BC94 #5238BC #BC3860
square
#A2BC38 #38BC94 #5238BC #BC3860
split-complementary
#A2BC38 #3860BC #9438BC
monochromatic
#515E1C #798D2A #A2BC38 #BAD061 #CFDE90

Accessibility & contrast

On white

2.15
#A2BC38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.79
#A2BC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2BC38
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2BC38#FFFFFF#000000##000000
##A2BC381.002.159.799.79
#FFFFFF2.151.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B122
Deuteranopia (green-blind)
#C5B143
Tritanopia (blue-blind)
#ABB2A2
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a2bc38;
/* rgb */ color: rgb(162, 188, 56);
/* oklch */ color: oklch(75.1% 0.156 120.0);
Tailwind
colors: {
  custom: {
    50: '#c1d077',
    500: '#a2bc38',
    950: '#000000',
  },
}
SCSS
$custom: #a2bc38;
$custom-light: #c1d077;
$custom-dark: #000000;
JSON
{
  "hex": "#a2bc38",
  "rgb": {
    "r": 162,
    "g": 188,
    "b": 56
  },
  "hsl": {
    "h": 71.818,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.75112,
    "c": 0.15635,
    "h": 120
  },
  "luminance": 0.43933
}

Semantic roles & 50–950 ramp

primary
#A2BC38
secondary
#9487C9
accent
#4ADD67
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#131409
muted
#82827B

Preview Lab

Preview with #A2BC38

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

Preview Lab → · Contrast checker → · Palette generator →

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