#B4BE2D#B4BE2D

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

Color values

HEX#B4BE2D
RGBrgb(180, 190, 45)
HSLhsl(64, 62%, 46%)
HSVhsv(64, 76%, 75%)
CMYKcmyk(5.3%, 0%, 76.3%, 25.5%)
CIE-LABlab(74.01, -20.57, 66.44)
CIE-LCHlch(74.01, 69.55, 107.20°)
OKLaboklab(76.89% -0.0636 0.1455)
OKLCHoklch(76.89% 0.159 113.6)
XYZxyz(37.7107, 46.7205, 9.5135)
Luminance0.4672 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BE2D #372DBE
analogous
#BE7F2D #B4BE2D #6BBE2D
triadic
#B4BE2D #2DB4BE #BE2DB4
tetradic
#B4BE2D #2DBE7F #372DBE #BE2D6B
square
#B4BE2D #2DBE7F #372DBE #BE2D6B
split-complementary
#B4BE2D #2D6BBE #7F2DBE
monochromatic
#565B16 #858D21 #B4BE2D #CDD652 #DBE284

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4BE2D#FFFFFF#000000##000000
##B4BE2D1.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)
#CCB503
Deuteranopia (green-blind)
#CCB73A
Tritanopia (blue-blind)
#C0B2A3
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b4be2d;
/* rgb */ color: rgb(180, 190, 45);
/* oklch */ color: oklch(76.9% 0.159 113.6);
Tailwind
colors: {
  custom: {
    50: '#ced172',
    500: '#b4be2d',
    950: '#000000',
  },
}
SCSS
$custom: #b4be2d;
$custom-light: #ced172;
$custom-dark: #000000;
JSON
{
  "hex": "#b4be2d",
  "rgb": {
    "r": 180,
    "g": 190,
    "b": 45
  },
  "hsl": {
    "h": 64.138,
    "s": 61.702,
    "l": 46.078
  },
  "oklch": {
    "l": 0.76891,
    "c": 0.15883,
    "h": 113.6
  },
  "luminance": 0.4672
}

Semantic roles & 50–950 ramp

primary
#B4BE2D
secondary
#817CCB
accent
#43E54E
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B4BE2D

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

Preview Lab → · Contrast checker → · Palette generator →

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