#A6BF31#A6BF31

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

Color values

HEX#A6BF31
RGBrgb(166, 191, 49)
HSLhsl(71, 59%, 47%)
HSVhsv(71, 74%, 75%)
CMYKcmyk(13.1%, 0%, 74.3%, 25.1%)
CIE-LABlab(73.28, -26.74, 64.10)
CIE-LCHlch(73.28, 69.45, 112.65°)
OKLaboklab(76.05% -0.0796 0.1417)
OKLCHoklch(76.05% 0.163 119.3)
XYZxyz(34.9118, 45.5906, 9.8658)
Luminance0.4559 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6BF31 #4A31BF
analogous
#BF9131 #A6BF31 #5FBF31
triadic
#A6BF31 #31A6BF #BF31A6
tetradic
#A6BF31 #31BF91 #4A31BF #BF315F
square
#A6BF31 #31BF91 #4A31BF #BF315F
split-complementary
#A6BF31 #315FBF #9131BF
monochromatic
#515E18 #7C8E25 #A6BF31 #BFD459 #D1E18A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6BF31#FFFFFF#000000##000000
##A6BF311.002.0810.1210.12
#FFFFFF2.081.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a6bf31;
/* rgb */ color: rgb(166, 191, 49);
/* oklch */ color: oklch(76.1% 0.163 119.3);
Tailwind
colors: {
  custom: {
    50: '#c4d274',
    500: '#a6bf31',
    950: '#000000',
  },
}
SCSS
$custom: #a6bf31;
$custom-light: #c4d274;
$custom-dark: #000000;
JSON
{
  "hex": "#a6bf31",
  "rgb": {
    "r": 166,
    "g": 191,
    "b": 49
  },
  "hsl": {
    "h": 70.563,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.76051,
    "c": 0.16254,
    "h": 119.3
  },
  "luminance": 0.4559
}

Semantic roles & 50–950 ramp

primary
#A6BF31
secondary
#8E81CB
accent
#45E261
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131409
muted
#82827B

Preview Lab

Preview with #A6BF31

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

Preview Lab → · Contrast checker → · Palette generator →

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