#B6C040#B6C040

#B6C040 is a light, vivid yellow. Relative luminance 0.480; OKLCH L 77.6% C 0.149 H 113.7°. Best body text is #000000 at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#B6C040
RGBrgb(182, 192, 64)
HSLhsl(65, 50%, 50%)
HSVhsv(65, 67%, 75%)
CMYKcmyk(5.2%, 0%, 66.7%, 24.7%)
CIE-LABlab(74.83, -19.77, 60.56)
CIE-LCHlch(74.83, 63.71, 108.08°)
OKLaboklab(77.63% -0.0598 0.1363)
OKLCHoklch(77.63% 0.149 113.7)
XYZxyz(39.0675, 48.0153, 12.0594)
Luminance0.4802 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6C040 #4A40C0
analogous
#C08A40 #B6C040 #76C040
triadic
#B6C040 #40B6C0 #C040B6
tetradic
#B6C040 #40C08A #4A40C0 #C04076
square
#B6C040 #40C08A #4A40C0 #C04076
split-complementary
#B6C040 #4076C0 #8A40C0
monochromatic
#5F6421 #8B9230 #B6C040 #C8CF6E #D9DE9C

Accessibility & contrast

On white

1.98
#B6C040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.60
#B6C040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6C040
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6C040#FFFFFF#000000##000000
##B6C0401.001.9810.6010.60
#FFFFFF1.981.0021.0021.00
#00000010.6021.001.001.00
##00000010.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB72D
Deuteranopia (green-blind)
#CDB949
Tritanopia (blue-blind)
#C2B5A6
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b6c040;
/* rgb */ color: rgb(182, 192, 64);
/* oklch */ color: oklch(77.6% 0.149 113.7);
Tailwind
colors: {
  custom: {
    50: '#cfd27c',
    500: '#b6c040',
    950: '#000000',
  },
}
SCSS
$custom: #b6c040;
$custom-light: #cfd27c;
$custom-dark: #000000;
JSON
{
  "hex": "#b6c040",
  "rgb": {
    "r": 182,
    "g": 192,
    "b": 64
  },
  "hsl": {
    "h": 64.688,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.77626,
    "c": 0.14881,
    "h": 113.7
  },
  "luminance": 0.48015
}

Semantic roles & 50–950 ramp

primary
#B6C040
secondary
#9691CB
accent
#4EDA59
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C

Preview Lab

Preview with #B6C040

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

Preview Lab → · Contrast checker → · Palette generator →

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