#B6C831#B6C831

#B6C831 is a light, vivid yellow. Relative luminance 0.515; OKLCH L 79.3% C 0.167 H 116.4°. Best body text is #000000 at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#B6C831
RGBrgb(182, 200, 49)
HSLhsl(67, 61%, 49%)
HSVhsv(67, 76%, 78%)
CMYKcmyk(9%, 0%, 75.5%, 21.6%)
CIE-LABlab(76.97, -24.46, 67.97)
CIE-LCHlch(76.97, 72.24, 109.80°)
OKLaboklab(79.31% -0.0742 0.1494)
OKLCHoklch(79.31% 0.167 116.4)
XYZxyz(40.5011, 51.4760, 10.7074)
Luminance0.5148 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6C831 #4331C8
analogous
#C88F31 #B6C831 #6BC831
triadic
#B6C831 #31B6C8 #C831B6
tetradic
#B6C831 #31C88F #4331C8 #C8316B
square
#B6C831 #31C88F #4331C8 #C8316B
split-complementary
#B6C831 #316BC8 #8F31C8
monochromatic
#5D6619 #899725 #B6C831 #C9D85F #DAE490

Accessibility & contrast

On white

1.86
#B6C831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.30
#B6C831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6C831
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6C831#FFFFFF#000000##000000
##B6C8311.001.8611.3011.30
#FFFFFF1.861.0021.0021.00
#00000011.3021.001.001.00
##00000011.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BD09
Deuteranopia (green-blind)
#D5BF3F
Tritanopia (blue-blind)
#C2BCAC
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b6c831;
/* rgb */ color: rgb(182, 200, 49);
/* oklch */ color: oklch(79.3% 0.167 116.4);
Tailwind
colors: {
  custom: {
    50: '#d0d875',
    500: '#b6c831',
    950: '#000000',
  },
}
SCSS
$custom: #b6c831;
$custom-light: #d0d875;
$custom-dark: #000000;
JSON
{
  "hex": "#b6c831",
  "rgb": {
    "r": 182,
    "g": 200,
    "b": 49
  },
  "hsl": {
    "h": 67.152,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.79307,
    "c": 0.16681,
    "h": 116.4
  },
  "luminance": 0.51475
}

Semantic roles & 50–950 ramp

primary
#B6C831
secondary
#352D70
accent
#44E457
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B6C831

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

Preview Lab → · Contrast checker → · Palette generator →

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