#A6BF52#A6BF52

#A6BF52 is a light, vivid yellow-green. Relative luminance 0.460; OKLCH L 76.3% C 0.138 H 120.6°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#A6BF52
RGBrgb(166, 191, 82)
HSLhsl(74, 46%, 54%)
HSVhsv(74, 57%, 75%)
CMYKcmyk(13.1%, 0%, 57.1%, 25.1%)
CIE-LABlab(73.53, -24.55, 51.15)
CIE-LCHlch(73.53, 56.74, 115.64°)
OKLaboklab(76.33% -0.0704 0.1191)
OKLCHoklch(76.33% 0.138 120.6)
XYZxyz(35.8801, 45.9779, 14.9654)
Luminance0.4598 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6BF52 #6B52BF
analogous
#BFA152 #A6BF52 #6FBF52
triadic
#A6BF52 #52A6BF #BF52A6
tetradic
#A6BF52 #52BFA1 #6B52BF #BF526F
square
#A6BF52 #52BFA1 #6B52BF #BF526F
split-complementary
#A6BF52 #526FBF #A152BF
monochromatic
#5E6E29 #849B39 #A6BF52 #BDD07F #D4E0AB

Accessibility & contrast

On white

2.06
#A6BF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.20
#A6BF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6BF52
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6BF52#FFFFFF#000000##000000
##A6BF521.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB547
Deuteranopia (green-blind)
#C7B559
Tritanopia (blue-blind)
#AEB6A7
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #a6bf52;
/* rgb */ color: rgb(166, 191, 82);
/* oklch */ color: oklch(76.3% 0.138 120.6);
Tailwind
colors: {
  custom: {
    50: '#c3d286',
    500: '#a6bf52',
    950: '#000000',
  },
}
SCSS
$custom: #a6bf52;
$custom-light: #c3d286;
$custom-dark: #000000;
JSON
{
  "hex": "#a6bf52",
  "rgb": {
    "r": 166,
    "g": 191,
    "b": 82
  },
  "hsl": {
    "h": 73.761,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.76335,
    "c": 0.13833,
    "h": 120.6
  },
  "luminance": 0.45978
}

Semantic roles & 50–950 ramp

primary
#A6BF52
secondary
#AA9FCE
accent
#52D670
background
#FCFCF8
surface
#F8F9F0
border
#D1D2CB
text
#13140B
muted
#82827C

Preview Lab

Preview with #A6BF52

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

Preview Lab → · Contrast checker → · Palette generator →

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