#B6BF38#B6BF38

#B6BF38 is a light, vivid yellow. Relative luminance 0.475; OKLCH L 77.3% C 0.153 H 113.2°. Best body text is #000000 at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#B6BF38
RGBrgb(182, 191, 56)
HSLhsl(64, 55%, 48%)
HSVhsv(64, 71%, 75%)
CMYKcmyk(4.7%, 0%, 70.7%, 25.1%)
CIE-LABlab(74.50, -19.71, 63.25)
CIE-LCHlch(74.50, 66.26, 107.31°)
OKLaboklab(77.34% -0.0604 0.1406)
OKLCHoklch(77.34% 0.153 113.2)
XYZxyz(38.6372, 47.4930, 10.8724)
Luminance0.4749 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6BF38 #4138BF
analogous
#BF8438 #B6BF38 #72BF38
triadic
#B6BF38 #38B6BF #BF38B6
tetradic
#B6BF38 #38BF84 #4138BF #BF3872
square
#B6BF38 #38BF84 #4138BF #BF3872
split-complementary
#B6BF38 #3872BF #8438BF
monochromatic
#5C601C #89902A #B6BF38 #CAD163 #DADF92

Accessibility & contrast

On white

2.00
#B6BF38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.50
#B6BF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6BF38
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6BF38#FFFFFF#000000##000000
##B6BF381.002.0010.5010.50
#FFFFFF2.001.0021.0021.00
#00000010.5021.001.001.00
##00000010.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB620
Deuteranopia (green-blind)
#CDB942
Tritanopia (blue-blind)
#C2B4A5
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b6bf38;
/* rgb */ color: rgb(182, 191, 56);
/* oklch */ color: oklch(77.3% 0.153 113.2);
Tailwind
colors: {
  custom: {
    50: '#cfd277',
    500: '#b6bf38',
    950: '#000000',
  },
}
SCSS
$custom: #b6bf38;
$custom-light: #cfd277;
$custom-dark: #000000;
JSON
{
  "hex": "#b6bf38",
  "rgb": {
    "r": 182,
    "g": 191,
    "b": 56
  },
  "hsl": {
    "h": 64,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.77344,
    "c": 0.15305,
    "h": 113.2
  },
  "luminance": 0.47492
}

Semantic roles & 50–950 ramp

primary
#B6BF38
secondary
#8D89CA
accent
#4ADE54
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B

Preview Lab

Preview with #B6BF38

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

Preview Lab → · Contrast checker → · Palette generator →

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