#B7BE2B#B7BE2B

#B7BE2B is a light, vivid yellow. Relative luminance 0.471; OKLCH L 77.1% C 0.159 H 112.4°. Best body text is #000000 at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#B7BE2B
RGBrgb(183, 190, 43)
HSLhsl(63, 63%, 46%)
HSVhsv(63, 77%, 75%)
CMYKcmyk(3.7%, 0%, 77.4%, 25.5%)
CIE-LABlab(74.23, -19.38, 67.34)
CIE-LCHlch(74.23, 70.08, 106.05°)
OKLaboklab(77.12% -0.0606 0.147)
OKLCHoklch(77.12% 0.159 112.4)
XYZxyz(38.3792, 47.0695, 9.3486)
Luminance0.4707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BE2B #322BBE
analogous
#BE7B2B #B7BE2B #6DBE2B
triadic
#B7BE2B #2BB7BE #BE2BB7
tetradic
#B7BE2B #2BBE7B #322BBE #BE2B6D
square
#B7BE2B #2BBE7B #322BBE #BE2B6D
split-complementary
#B7BE2B #2B6DBE #7B2BBE
monochromatic
#575A14 #878C20 #B7BE2B #D1D74F #DEE281

Accessibility & contrast

On white

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

On black

10.41
#B7BE2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BE2B
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BE2B#FFFFFF#000000##000000
##B7BE2B1.002.0210.4110.41
#FFFFFF2.021.0021.0021.00
#00000010.4121.001.001.00
##00000010.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB500
Deuteranopia (green-blind)
#CDB838
Tritanopia (blue-blind)
#C4B2A3
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b7be2b;
/* rgb */ color: rgb(183, 190, 43);
/* oklch */ color: oklch(77.1% 0.159 112.4);
Tailwind
colors: {
  custom: {
    50: '#d0d171',
    500: '#b7be2b',
    950: '#000000',
  },
}
SCSS
$custom: #b7be2b;
$custom-light: #d0d171;
$custom-dark: #000000;
JSON
{
  "hex": "#b7be2b",
  "rgb": {
    "r": 183,
    "g": 190,
    "b": 43
  },
  "hsl": {
    "h": 62.857,
    "s": 63.09,
    "l": 45.686
  },
  "oklch": {
    "l": 0.77124,
    "c": 0.159,
    "h": 112.4
  },
  "luminance": 0.47069
}

Semantic roles & 50–950 ramp

primary
#B7BE2B
secondary
#7D7ACB
accent
#42E649
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B

Preview Lab

Preview with #B7BE2B

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

Preview Lab → · Contrast checker → · Palette generator →

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