#A6BF40#A6BF40

#A6BF40 is a light, vivid yellow-green. Relative luminance 0.457; OKLCH L 76.2% C 0.153 H 119.8°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#A6BF40
RGBrgb(166, 191, 64)
HSLhsl(72, 50%, 50%)
HSVhsv(72, 66%, 75%)
CMYKcmyk(13.1%, 0%, 66.5%, 25.1%)
CIE-LABlab(73.38, -25.90, 58.69)
CIE-LCHlch(73.38, 64.15, 113.81°)
OKLaboklab(76.16% -0.0759 0.1327)
OKLCHoklch(76.16% 0.153 119.8)
XYZxyz(35.2827, 45.7389, 11.8193)
Luminance0.4574 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6BF40 #5940BF
analogous
#BF9840 #A6BF40 #67BF40
triadic
#A6BF40 #40A6BF #BF40A6
tetradic
#A6BF40 #40BF98 #5940BF #BF4067
square
#A6BF40 #40BF98 #5940BF #BF4067
split-complementary
#A6BF40 #4067BF #9840BF
monochromatic
#566321 #7E9131 #A6BF40 #BBCE6E #D1DE9C

Accessibility & contrast

On white

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

On black

10.15
#A6BF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6BF40
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6BF40#FFFFFF#000000##000000
##A6BF401.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB42E
Deuteranopia (green-blind)
#C8B549
Tritanopia (blue-blind)
#AFB5A5
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #a6bf40;
/* rgb */ color: rgb(166, 191, 64);
/* oklch */ color: oklch(76.2% 0.153 119.8);
Tailwind
colors: {
  custom: {
    50: '#c3d27c',
    500: '#a6bf40',
    950: '#000000',
  },
}
SCSS
$custom: #a6bf40;
$custom-light: #c3d27c;
$custom-dark: #000000;
JSON
{
  "hex": "#a6bf40",
  "rgb": {
    "r": 166,
    "g": 191,
    "b": 64
  },
  "hsl": {
    "h": 71.811,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.7616,
    "c": 0.1529,
    "h": 119.8
  },
  "luminance": 0.45739
}

Semantic roles & 50–950 ramp

primary
#A6BF40
secondary
#9C91CA
accent
#4ED96A
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13140A
muted
#82827C

Preview Lab

Preview with #A6BF40

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

Preview Lab → · Contrast checker → · Palette generator →

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