#A6BF2E#A6BF2E

#A6BF2E is a light, vivid yellow-green. Relative luminance 0.456; OKLCH L 76.0% C 0.164 H 119.3°. Best body text is #000000 at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#A6BF2E
RGBrgb(166, 191, 46)
HSLhsl(70, 61%, 46%)
HSVhsv(70, 76%, 75%)
CMYKcmyk(13.1%, 0%, 75.9%, 25.1%)
CIE-LABlab(73.26, -26.88, 65.06)
CIE-LCHlch(73.26, 70.40, 112.45°)
OKLaboklab(76.03% -0.0802 0.1432)
OKLCHoklch(76.03% 0.164 119.3)
XYZxyz(34.8506, 45.5661, 9.5434)
Luminance0.4557 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6BF2E #472EBF
analogous
#BF902E #A6BF2E #5EBF2E
triadic
#A6BF2E #2EA6BF #BF2EA6
tetradic
#A6BF2E #2EBF90 #472EBF #BF2E5E
square
#A6BF2E #2EBF90 #472EBF #BF2E5E
split-complementary
#A6BF2E #2E5EBF #902EBF
monochromatic
#505C16 #7B8E22 #A6BF2E #C0D654 #D2E286

Accessibility & contrast

On white

2.08
#A6BF2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.11
#A6BF2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6BF2E
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6BF2E#FFFFFF#000000##000000
##A6BF2E1.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB407
Deuteranopia (green-blind)
#C9B43B
Tritanopia (blue-blind)
#B0B4A4
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #a6bf2e;
/* rgb */ color: rgb(166, 191, 46);
/* oklch */ color: oklch(76.0% 0.164 119.3);
Tailwind
colors: {
  custom: {
    50: '#c4d272',
    500: '#a6bf2e',
    950: '#000000',
  },
}
SCSS
$custom: #a6bf2e;
$custom-light: #c4d272;
$custom-dark: #000000;
JSON
{
  "hex": "#a6bf2e",
  "rgb": {
    "r": 166,
    "g": 191,
    "b": 46
  },
  "hsl": {
    "h": 70.345,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.76033,
    "c": 0.16419,
    "h": 119.3
  },
  "luminance": 0.45566
}

Semantic roles & 50–950 ramp

primary
#A6BF2E
secondary
#8B7ECB
accent
#44E45F
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131409
muted
#82827B

Preview Lab

Preview with #A6BF2E

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

Preview Lab → · Contrast checker → · Palette generator →

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