#A6BC31#A6BC31

#A6BC31 is a light, vivid yellow. Relative luminance 0.443; OKLCH L 75.4% C 0.159 H 118.4°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#A6BC31
RGBrgb(166, 188, 49)
HSLhsl(69, 59%, 46%)
HSVhsv(69, 74%, 74%)
CMYKcmyk(11.7%, 0%, 73.9%, 26.3%)
CIE-LABlab(72.43, -25.29, 63.29)
CIE-LCHlch(72.43, 68.15, 111.78°)
OKLaboklab(75.36% -0.0756 0.14)
OKLCHoklch(75.36% 0.159 118.4)
XYZxyz(34.2642, 44.2955, 9.6500)
Luminance0.4430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6BC31 #4731BC
analogous
#BC8D31 #A6BC31 #61BC31
triadic
#A6BC31 #31A6BC #BC31A6
tetradic
#A6BC31 #31BC8D #4731BC #BC3161
square
#A6BC31 #31BC8D #4731BC #BC3161
split-complementary
#A6BC31 #3161BC #8D31BC
monochromatic
#505B18 #7B8B24 #A6BC31 #C0D357 #D2E088

Accessibility & contrast

On white

2.13
#A6BC31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.86
#A6BC31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6BC31
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6BC31#FFFFFF#000000##000000
##A6BC311.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B113
Deuteranopia (green-blind)
#C6B23D
Tritanopia (blue-blind)
#B0B2A1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #a6bc31;
/* rgb */ color: rgb(166, 188, 49);
/* oklch */ color: oklch(75.4% 0.159 118.4);
Tailwind
colors: {
  custom: {
    50: '#c4d073',
    500: '#a6bc31',
    950: '#000000',
  },
}
SCSS
$custom: #a6bc31;
$custom-light: #c4d073;
$custom-dark: #000000;
JSON
{
  "hex": "#a6bc31",
  "rgb": {
    "r": 166,
    "g": 188,
    "b": 49
  },
  "hsl": {
    "h": 69.496,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.75364,
    "c": 0.15911,
    "h": 118.4
  },
  "luminance": 0.44295
}

Semantic roles & 50–950 ramp

primary
#A6BC31
secondary
#8B7FCA
accent
#46E25F
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A6BC31

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

Preview Lab → · Contrast checker → · Palette generator →

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