#B6BB38#B6BB38

#B6BB38 is a light, vivid yellow. Relative luminance 0.458; OKLCH L 76.5% C 0.149 H 111.6°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#B6BB38
RGBrgb(182, 187, 56)
HSLhsl(62, 54%, 48%)
HSVhsv(62, 70%, 73%)
CMYKcmyk(2.7%, 0%, 70.1%, 26.7%)
CIE-LABlab(73.40, -17.71, 62.17)
CIE-LCHlch(73.40, 64.64, 105.90°)
OKLaboklab(76.46% -0.0548 0.1384)
OKLCHoklch(76.46% 0.149 111.6)
XYZxyz(37.7767, 45.7722, 10.5855)
Luminance0.4577 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6BB38 #3D38BB
analogous
#BB7E38 #B6BB38 #75BB38
triadic
#B6BB38 #38B6BB #BB38B6
tetradic
#B6BB38 #38BB7E #3D38BB #BB3875
square
#B6BB38 #38BB7E #3D38BB #BB3875
split-complementary
#B6BB38 #3875BB #7E38BB
monochromatic
#5A5D1C #888C2A #B6BB38 #CBD061 #DBDE90

Accessibility & contrast

On white

2.07
#B6BB38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.15
#B6BB38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6BB38
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6BB38#FFFFFF#000000##000000
##B6BB381.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B322
Deuteranopia (green-blind)
#CAB642
Tritanopia (blue-blind)
#C2B0A1
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b6bb38;
/* rgb */ color: rgb(182, 187, 56);
/* oklch */ color: oklch(76.5% 0.149 111.6);
Tailwind
colors: {
  custom: {
    50: '#cfcf77',
    500: '#b6bb38',
    950: '#000000',
  },
}
SCSS
$custom: #b6bb38;
$custom-light: #cfcf77;
$custom-dark: #000000;
JSON
{
  "hex": "#b6bb38",
  "rgb": {
    "r": 182,
    "g": 187,
    "b": 56
  },
  "hsl": {
    "h": 62.29,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.76458,
    "c": 0.14882,
    "h": 111.6
  },
  "luminance": 0.45771
}

Semantic roles & 50–950 ramp

primary
#B6BB38
secondary
#8986C8
accent
#4BDD50
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B6BB38

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

Preview Lab → · Contrast checker → · Palette generator →

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