#A6BF34#A6BF34

#A6BF34 is a light, vivid yellow-green. Relative luminance 0.456; OKLCH L 76.1% C 0.161 H 119.4°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#A6BF34
RGBrgb(166, 191, 52)
HSLhsl(71, 57%, 48%)
HSVhsv(71, 73%, 75%)
CMYKcmyk(13.1%, 0%, 72.8%, 25.1%)
CIE-LABlab(73.30, -26.59, 63.09)
CIE-LCHlch(73.30, 68.47, 112.85°)
OKLaboklab(76.07% -0.0789 0.1401)
OKLCHoklch(76.07% 0.161 119.4)
XYZxyz(34.9772, 45.6167, 10.2104)
Luminance0.4562 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6BF34 #4D34BF
analogous
#BF9234 #A6BF34 #61BF34
triadic
#A6BF34 #34A6BF #BF34A6
tetradic
#A6BF34 #34BF92 #4D34BF #BF3461
square
#A6BF34 #34BF92 #4D34BF #BF3461
split-complementary
#A6BF34 #3461BF #9234BF
monochromatic
#525F1A #7C8F27 #A6BF34 #BED35D #D1E08D

Accessibility & contrast

On white

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

On black

10.12
#A6BF34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6BF34
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6BF34#FFFFFF#000000##000000
##A6BF341.002.0710.1210.12
#FFFFFF2.071.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB419
Deuteranopia (green-blind)
#C8B440
Tritanopia (blue-blind)
#B0B5A4
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #a6bf34;
/* rgb */ color: rgb(166, 191, 52);
/* oklch */ color: oklch(76.1% 0.161 119.4);
Tailwind
colors: {
  custom: {
    50: '#c4d275',
    500: '#a6bf34',
    950: '#000000',
  },
}
SCSS
$custom: #a6bf34;
$custom-light: #c4d275;
$custom-dark: #000000;
JSON
{
  "hex": "#a6bf34",
  "rgb": {
    "r": 166,
    "g": 191,
    "b": 52
  },
  "hsl": {
    "h": 70.791,
    "s": 57.202,
    "l": 47.647
  },
  "oklch": {
    "l": 0.76071,
    "c": 0.16081,
    "h": 119.4
  },
  "luminance": 0.45617
}

Semantic roles & 50–950 ramp

primary
#A6BF34
secondary
#9184CA
accent
#47E063
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131409
muted
#82827B

Preview Lab

Preview with #A6BF34

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

Preview Lab → · Contrast checker → · Palette generator →

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