#B4BE2B#B4BE2B

#B4BE2B is a light, vivid yellow. Relative luminance 0.467; OKLCH L 76.9% C 0.160 H 113.6°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#B4BE2B
RGBrgb(180, 190, 43)
HSLhsl(64, 63%, 46%)
HSVhsv(64, 77%, 75%)
CMYKcmyk(5.3%, 0%, 77.4%, 25.5%)
CIE-LABlab(74.00, -20.65, 67.05)
CIE-LCHlch(74.00, 70.16, 107.12°)
OKLaboklab(76.88% -0.064 0.1465)
OKLCHoklch(76.88% 0.16 113.6)
XYZxyz(37.6731, 46.7054, 9.3155)
Luminance0.4671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BE2B #352BBE
analogous
#BE7F2B #B4BE2B #6ABE2B
triadic
#B4BE2B #2BB4BE #BE2BB4
tetradic
#B4BE2B #2BBE7F #352BBE #BE2B6A
square
#B4BE2B #2BBE7F #352BBE #BE2B6A
split-complementary
#B4BE2B #2B6ABE #7F2BBE
monochromatic
#555A14 #858C20 #B4BE2B #CED74F #DCE281

Accessibility & contrast

On white

2.03
#B4BE2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.34
#B4BE2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4BE2B
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4BE2B#FFFFFF#000000##000000
##B4BE2B1.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB500
Deuteranopia (green-blind)
#CCB738
Tritanopia (blue-blind)
#C0B2A3
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b4be2b;
/* rgb */ color: rgb(180, 190, 43);
/* oklch */ color: oklch(76.9% 0.160 113.6);
Tailwind
colors: {
  custom: {
    50: '#ced171',
    500: '#b4be2b',
    950: '#000000',
  },
}
SCSS
$custom: #b4be2b;
$custom-light: #ced171;
$custom-dark: #000000;
JSON
{
  "hex": "#b4be2b",
  "rgb": {
    "r": 180,
    "g": 190,
    "b": 43
  },
  "hsl": {
    "h": 64.082,
    "s": 63.09,
    "l": 45.686
  },
  "oklch": {
    "l": 0.7688,
    "c": 0.15984,
    "h": 113.6
  },
  "luminance": 0.46705
}

Semantic roles & 50–950 ramp

primary
#B4BE2B
secondary
#7F7ACB
accent
#42E64D
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B

Preview Lab

Preview with #B4BE2B

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

Preview Lab → · Contrast checker → · Palette generator →

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