#B6BE21#B6BE21

#B6BE21 is a light, vivid yellow. Relative luminance 0.469; OKLCH L 77.0% C 0.164 H 112.8°. Best body text is #000000 at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#B6BE21
RGBrgb(182, 190, 33)
HSLhsl(63, 70%, 44%)
HSVhsv(63, 83%, 75%)
CMYKcmyk(4.2%, 0%, 82.6%, 25.5%)
CIE-LABlab(74.11, -20.15, 69.94)
CIE-LCHlch(74.11, 72.78, 106.07°)
OKLaboklab(77% -0.0634 0.1508)
OKLCHoklch(77% 0.164 112.8)
XYZxyz(37.9807, 46.8827, 8.4871)
Luminance0.4688 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6BE21 #2921BE
analogous
#BE7721 #B6BE21 #67BE21
triadic
#B6BE21 #21B6BE #BE21B6
tetradic
#B6BE21 #21BE77 #2921BE #BE2167
square
#B6BE21 #21BE77 #2921BE #BE2167
split-complementary
#B6BE21 #2167BE #7721BE
monochromatic
#52560F #848A18 #B6BE21 #D5DE3F #E1E773

Accessibility & contrast

On white

2.02
#B6BE21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.38
#B6BE21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6BE21
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6BE21#FFFFFF#000000##000000
##B6BE211.002.0210.3810.38
#FFFFFF2.021.0021.0021.00
#00000010.3821.001.001.00
##00000010.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB500
Deuteranopia (green-blind)
#CDB832
Tritanopia (blue-blind)
#C3B2A2
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b6be21;
/* rgb */ color: rgb(182, 190, 33);
/* oklch */ color: oklch(77.0% 0.164 112.8);
Tailwind
colors: {
  custom: {
    50: '#d0d16d',
    500: '#b6be21',
    950: '#000000',
  },
}
SCSS
$custom: #b6be21;
$custom-light: #d0d16d;
$custom-dark: #000000;
JSON
{
  "hex": "#b6be21",
  "rgb": {
    "r": 182,
    "g": 190,
    "b": 33
  },
  "hsl": {
    "h": 63.057,
    "s": 70.404,
    "l": 43.725
  },
  "oklch": {
    "l": 0.76996,
    "c": 0.16363,
    "h": 112.8
  },
  "luminance": 0.46882
}

Semantic roles & 50–950 ramp

primary
#B6BE21
secondary
#726DCD
accent
#3BED44
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B

Preview Lab

Preview with #B6BE21

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

Preview Lab → · Contrast checker → · Palette generator →

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