#A6BF45#A6BF45

#A6BF45 is a light, vivid yellow-green. Relative luminance 0.458; OKLCH L 76.2% C 0.149 H 120.0°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#A6BF45
RGBrgb(166, 191, 69)
HSLhsl(72, 49%, 51%)
HSVhsv(72, 64%, 75%)
CMYKcmyk(13.1%, 0%, 63.9%, 25.1%)
CIE-LABlab(73.41, -25.56, 56.69)
CIE-LCHlch(73.41, 62.19, 114.27°)
OKLaboklab(76.2% -0.0745 0.1292)
OKLCHoklch(76.2% 0.149 120)
XYZxyz(35.4314, 45.7984, 12.6025)
Luminance0.4580 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6BF45 #5E45BF
analogous
#BF9B45 #A6BF45 #69BF45
triadic
#A6BF45 #45A6BF #BF45A6
tetradic
#A6BF45 #45BF9B #5E45BF #BF4569
square
#A6BF45 #45BF9B #5E45BF #BF4569
split-complementary
#A6BF45 #4569BF #9B45BF
monochromatic
#596623 #809433 #A6BF45 #BCCF73 #D2DEA0

Accessibility & contrast

On white

2.07
#A6BF45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.16
#A6BF45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6BF45
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6BF45#FFFFFF#000000##000000
##A6BF451.002.0710.1610.16
#FFFFFF2.071.0021.0021.00
#00000010.1621.001.001.00
##00000010.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB435
Deuteranopia (green-blind)
#C8B54E
Tritanopia (blue-blind)
#AFB5A6
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #a6bf45;
/* rgb */ color: rgb(166, 191, 69);
/* oklch */ color: oklch(76.2% 0.149 120.0);
Tailwind
colors: {
  custom: {
    50: '#c3d27e',
    500: '#a6bf45',
    950: '#000000',
  },
}
SCSS
$custom: #a6bf45;
$custom-light: #c3d27e;
$custom-dark: #000000;
JSON
{
  "hex": "#a6bf45",
  "rgb": {
    "r": 166,
    "g": 191,
    "b": 69
  },
  "hsl": {
    "h": 72.295,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.76204,
    "c": 0.14917,
    "h": 120
  },
  "luminance": 0.45798
}

Semantic roles & 50–950 ramp

primary
#A6BF45
secondary
#A095CB
accent
#4FD86B
background
#FCFCF8
surface
#F8F9EF
border
#D1D2CA
text
#13140A
muted
#82827C

Preview Lab

Preview with #A6BF45

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

Preview Lab → · Contrast checker → · Palette generator →

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