#B6C842#B6C842

#B6C842 is a light, vivid yellow. Relative luminance 0.516; OKLCH L 79.4% C 0.156 H 116.7°. Best body text is #000000 at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#B6C842
RGBrgb(182, 200, 66)
HSLhsl(68, 55%, 52%)
HSVhsv(68, 67%, 78%)
CMYKcmyk(9%, 0%, 67%, 21.6%)
CIE-LABlab(77.07, -23.59, 62.07)
CIE-LCHlch(77.07, 66.40, 110.81°)
OKLaboklab(79.42% -0.0702 0.1398)
OKLCHoklch(79.42% 0.156 116.7)
XYZxyz(40.9300, 51.6475, 12.9660)
Luminance0.5165 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6C842 #5442C8
analogous
#C89742 #B6C842 #73C842
triadic
#B6C842 #42B6C8 #C842B6
tetradic
#B6C842 #42C897 #5442C8 #C84273
square
#B6C842 #42C897 #5442C8 #C84273
split-complementary
#B6C842 #4273C8 #9742C8
monochromatic
#656F20 #909F2E #B6C842 #C8D671 #DBE4A1

Accessibility & contrast

On white

1.85
#B6C842 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.33
#B6C842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6C842
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6C842#FFFFFF#000000##000000
##B6C8421.001.8511.3311.33
#FFFFFF1.851.0021.0021.00
#00000011.3321.001.001.00
##00000011.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE2E
Deuteranopia (green-blind)
#D4BF4C
Tritanopia (blue-blind)
#C1BDAD
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b6c842;
/* rgb */ color: rgb(182, 200, 66);
/* oklch */ color: oklch(79.4% 0.156 116.7);
Tailwind
colors: {
  custom: {
    50: '#cfd87e',
    500: '#b6c842',
    950: '#000000',
  },
}
SCSS
$custom: #b6c842;
$custom-light: #cfd87e;
$custom-dark: #000000;
JSON
{
  "hex": "#b6c842",
  "rgb": {
    "r": 182,
    "g": 200,
    "b": 66
  },
  "hsl": {
    "h": 68.06,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.79422,
    "c": 0.15641,
    "h": 116.7
  },
  "luminance": 0.51647
}

Semantic roles & 50–950 ramp

primary
#B6C842
secondary
#3F3679
accent
#4ADE5E
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B6C842

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

Preview Lab → · Contrast checker → · Palette generator →

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