#B7BE21#B7BE21

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

Color values

HEX#B7BE21
RGBrgb(183, 190, 33)
HSLhsl(63, 70%, 44%)
HSVhsv(63, 83%, 75%)
CMYKcmyk(3.7%, 0%, 82.6%, 25.5%)
CIE-LABlab(74.19, -19.72, 70.03)
CIE-LCHlch(74.19, 72.76, 105.72°)
OKLaboklab(77.08% -0.0623 0.151)
OKLCHoklch(77.08% 0.163 112.4)
XYZxyz(38.2178, 47.0049, 8.4982)
Luminance0.4700 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BE21 #2821BE
analogous
#BE7621 #B7BE21 #68BE21
triadic
#B7BE21 #21B7BE #BE21B7
tetradic
#B7BE21 #21BE76 #2821BE #BE2168
square
#B7BE21 #21BE76 #2821BE #BE2168
split-complementary
#B7BE21 #2168BE #7621BE
monochromatic
#53560F #858A18 #B7BE21 #D6DE3F #E1E773

Accessibility & contrast

On white

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

On black

10.40
#B7BE21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BE21
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BE21#FFFFFF#000000##000000
##B7BE211.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7be21;
/* rgb */ color: rgb(183, 190, 33);
/* oklch */ color: oklch(77.1% 0.163 112.4);
Tailwind
colors: {
  custom: {
    50: '#d1d16d',
    500: '#b7be21',
    950: '#000000',
  },
}
SCSS
$custom: #b7be21;
$custom-light: #d1d16d;
$custom-dark: #000000;
JSON
{
  "hex": "#b7be21",
  "rgb": {
    "r": 183,
    "g": 190,
    "b": 33
  },
  "hsl": {
    "h": 62.675,
    "s": 70.404,
    "l": 43.725
  },
  "oklch": {
    "l": 0.77078,
    "c": 0.16335,
    "h": 112.4
  },
  "luminance": 0.47004
}

Semantic roles & 50–950 ramp

primary
#B7BE21
secondary
#726DCD
accent
#3BED43
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151408
muted
#83827B

Preview Lab

Preview with #B7BE21

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

Preview Lab → · Contrast checker → · Palette generator →

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