#B6C331#B6C331

#B6C331 is a light, vivid yellow. Relative luminance 0.492; OKLCH L 78.2% C 0.161 H 114.7°. Best body text is #000000 at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#B6C331
RGBrgb(182, 195, 49)
HSLhsl(65, 60%, 48%)
HSVhsv(65, 75%, 76%)
CMYKcmyk(6.7%, 0%, 74.9%, 23.5%)
CIE-LABlab(75.57, -22.02, 66.68)
CIE-LCHlch(75.57, 70.22, 108.28°)
OKLaboklab(78.19% -0.0674 0.1467)
OKLCHoklch(78.19% 0.161 114.7)
XYZxyz(39.3620, 49.1978, 10.3277)
Luminance0.4920 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6C331 #3E31C3
analogous
#C38731 #B6C331 #6DC331
triadic
#B6C331 #31B6C3 #C331B6
tetradic
#B6C331 #31C387 #3E31C3 #C3316D
square
#B6C331 #31C387 #3E31C3 #C3316D
split-complementary
#B6C331 #316DC3 #8731C3
monochromatic
#5B6118 #889225 #B6C331 #CBD65B #DBE28C

Accessibility & contrast

On white

1.94
#B6C331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.84
#B6C331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6C331
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6C331#FFFFFF#000000##000000
##B6C3311.001.9410.8410.84
#FFFFFF1.941.0021.0021.00
#00000010.8421.001.001.00
##00000010.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B90E
Deuteranopia (green-blind)
#D1BB3E
Tritanopia (blue-blind)
#C2B7A7
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #b6c331;
/* rgb */ color: rgb(182, 195, 49);
/* oklch */ color: oklch(78.2% 0.161 114.7);
Tailwind
colors: {
  custom: {
    50: '#d0d574',
    500: '#b6c331',
    950: '#000000',
  },
}
SCSS
$custom: #b6c331;
$custom-light: #d0d574;
$custom-dark: #000000;
JSON
{
  "hex": "#b6c331",
  "rgb": {
    "r": 182,
    "g": 195,
    "b": 49
  },
  "hsl": {
    "h": 65.342,
    "s": 59.836,
    "l": 47.843
  },
  "oklch": {
    "l": 0.78189,
    "c": 0.16142,
    "h": 114.7
  },
  "luminance": 0.49197
}

Semantic roles & 50–950 ramp

primary
#B6C331
secondary
#8A83CC
accent
#45E353
background
#FDFDF7
surface
#FAFAED
border
#D3D3C8
text
#141409
muted
#83837B

Preview Lab

Preview with #B6C331

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

Preview Lab → · Contrast checker → · Palette generator →

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