#A2BF38#A2BF38

#A2BF38 is a light, vivid yellow-green. Relative luminance 0.452; OKLCH L 75.8% C 0.160 H 121.0°. Best body text is #000000 at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#A2BF38
RGBrgb(162, 191, 56)
HSLhsl(73, 55%, 48%)
HSVhsv(73, 71%, 75%)
CMYKcmyk(15.2%, 0%, 70.7%, 25.1%)
CIE-LABlab(73.04, -28.01, 61.32)
CIE-LCHlch(73.04, 67.42, 114.55°)
OKLaboklab(75.8% -0.0823 0.1371)
OKLCHoklch(75.8% 0.16 121)
XYZxyz(34.2454, 45.2286, 10.6665)
Luminance0.4523 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2BF38 #5538BF
analogous
#BF9838 #A2BF38 #5EBF38
triadic
#A2BF38 #38A2BF #BF38A2
tetradic
#A2BF38 #38BF98 #5538BF #BF385E
square
#A2BF38 #38BF98 #5538BF #BF385E
split-complementary
#A2BF38 #385EBF #9838BF
monochromatic
#52601C #7A902A #A2BF38 #BAD163 #CFDF92

Accessibility & contrast

On white

2.09
#A2BF38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.05
#A2BF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2BF38
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2BF38#FFFFFF#000000##000000
##A2BF381.002.0910.0510.05
#FFFFFF2.091.0021.0021.00
#00000010.0521.001.001.00
##00000010.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB421
Deuteranopia (green-blind)
#C7B343
Tritanopia (blue-blind)
#ABB5A5
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #a2bf38;
/* rgb */ color: rgb(162, 191, 56);
/* oklch */ color: oklch(75.8% 0.160 121.0);
Tailwind
colors: {
  custom: {
    50: '#c1d277',
    500: '#a2bf38',
    950: '#000000',
  },
}
SCSS
$custom: #a2bf38;
$custom-light: #c1d277;
$custom-dark: #000000;
JSON
{
  "hex": "#a2bf38",
  "rgb": {
    "r": 162,
    "g": 191,
    "b": 56
  },
  "hsl": {
    "h": 72.889,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.75803,
    "c": 0.15992,
    "h": 121
  },
  "luminance": 0.45229
}

Semantic roles & 50–950 ramp

primary
#A2BF38
secondary
#9789CA
accent
#4ADE6A
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#131409
muted
#82827B

Preview Lab

Preview with #A2BF38

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

Preview Lab → · Contrast checker → · Palette generator →

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