#A6BB31#A6BB31

#A6BB31 is a light, vivid yellow. Relative luminance 0.439; OKLCH L 75.1% C 0.158 H 118.0°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#A6BB31
RGBrgb(166, 187, 49)
HSLhsl(69, 58%, 46%)
HSVhsv(69, 74%, 73%)
CMYKcmyk(11.2%, 0%, 73.8%, 26.7%)
CIE-LABlab(72.14, -24.80, 63.02)
CIE-LCHlch(72.14, 67.72, 111.49°)
OKLaboklab(75.14% -0.0742 0.1394)
OKLCHoklch(75.14% 0.158 118)
XYZxyz(34.0514, 43.8697, 9.5790)
Luminance0.4387 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6BB31 #4631BB
analogous
#BB8B31 #A6BB31 #61BB31
triadic
#A6BB31 #31A6BB #BB31A6
tetradic
#A6BB31 #31BB8B #4631BB #BB3161
square
#A6BB31 #31BB8B #4631BB #BB3161
split-complementary
#A6BB31 #3161BB #8B31BB
monochromatic
#505A18 #7B8B24 #A6BB31 #C0D356 #D2E087

Accessibility & contrast

On white

2.15
#A6BB31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.77
#A6BB31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6BB31
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6BB31#FFFFFF#000000##000000
##A6BB311.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B114
Deuteranopia (green-blind)
#C5B23D
Tritanopia (blue-blind)
#B0B1A1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a6bb31;
/* rgb */ color: rgb(166, 187, 49);
/* oklch */ color: oklch(75.1% 0.158 118.0);
Tailwind
colors: {
  custom: {
    50: '#c4cf73',
    500: '#a6bb31',
    950: '#000000',
  },
}
SCSS
$custom: #a6bb31;
$custom-light: #c4cf73;
$custom-dark: #000000;
JSON
{
  "hex": "#a6bb31",
  "rgb": {
    "r": 166,
    "g": 187,
    "b": 49
  },
  "hsl": {
    "h": 69.13,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.75136,
    "c": 0.15798,
    "h": 118
  },
  "luminance": 0.43869
}

Semantic roles & 50–950 ramp

primary
#A6BB31
secondary
#8A7FC9
accent
#46E25E
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A6BB31

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

Preview Lab → · Contrast checker → · Palette generator →

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