#A6BE2F#A6BE2F

#A6BE2F is a light, vivid yellow-green. Relative luminance 0.451; OKLCH L 75.8% C 0.163 H 119.0°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#A6BE2F
RGBrgb(166, 190, 47)
HSLhsl(70, 60%, 46%)
HSVhsv(70, 75%, 75%)
CMYKcmyk(12.6%, 0%, 75.3%, 25.5%)
CIE-LABlab(72.98, -26.36, 64.48)
CIE-LCHlch(72.98, 69.66, 112.23°)
OKLaboklab(75.81% -0.0787 0.1422)
OKLCHoklch(75.81% 0.163 119)
XYZxyz(34.6532, 45.1394, 9.5760)
Luminance0.4514 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6BE2F #472FBE
analogous
#BE8F2F #A6BE2F #5FBE2F
triadic
#A6BE2F #2FA6BE #BE2FA6
tetradic
#A6BE2F #2FBE8F #472FBE #BE2F5F
square
#A6BE2F #2FBE8F #472FBE #BE2F5F
split-complementary
#A6BE2F #2F5FBE #8F2FBE
monochromatic
#505C17 #7B8D23 #A6BE2F #C0D555 #D2E186

Accessibility & contrast

On white

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

On black

10.03
#A6BE2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6BE2F
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6BE2F#FFFFFF#000000##000000
##A6BE2F1.002.0910.0310.03
#FFFFFF2.091.0021.0021.00
#00000010.0321.001.001.00
##00000010.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB30C
Deuteranopia (green-blind)
#C8B43C
Tritanopia (blue-blind)
#B0B3A3
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #a6be2f;
/* rgb */ color: rgb(166, 190, 47);
/* oklch */ color: oklch(75.8% 0.163 119.0);
Tailwind
colors: {
  custom: {
    50: '#c4d173',
    500: '#a6be2f',
    950: '#000000',
  },
}
SCSS
$custom: #a6be2f;
$custom-light: #c4d173;
$custom-dark: #000000;
JSON
{
  "hex": "#a6be2f",
  "rgb": {
    "r": 166,
    "g": 190,
    "b": 47
  },
  "hsl": {
    "h": 70.07,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.7581,
    "c": 0.1625,
    "h": 119
  },
  "luminance": 0.45139
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A6BE2F

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

Preview Lab → · Contrast checker → · Palette generator →

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