#B4BE2A#B4BE2A

#B4BE2A 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#B4BE2A
RGBrgb(180, 190, 42)
HSLhsl(64, 64%, 45%)
HSVhsv(64, 78%, 75%)
CMYKcmyk(5.3%, 0%, 77.9%, 25.5%)
CIE-LABlab(74.00, -20.69, 67.34)
CIE-LCHlch(74.00, 70.45, 107.08°)
OKLaboklab(76.88% -0.0642 0.1469)
OKLCHoklch(76.88% 0.16 113.6)
XYZxyz(37.6550, 46.6982, 9.2201)
Luminance0.4670 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BE2A #342ABE
analogous
#BE7E2A #B4BE2A #6ABE2A
triadic
#B4BE2A #2AB4BE #BE2AB4
tetradic
#B4BE2A #2ABE7E #342ABE #BE2A6A
square
#B4BE2A #2ABE7E #342ABE #BE2A6A
split-complementary
#B4BE2A #2A6ABE #7E2ABE
monochromatic
#555A14 #858C1F #B4BE2A #CED84D #DCE380

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4BE2A#FFFFFF#000000##000000
##B4BE2A1.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: #b4be2a;
/* rgb */ color: rgb(180, 190, 42);
/* oklch */ color: oklch(76.9% 0.160 113.6);
Tailwind
colors: {
  custom: {
    50: '#ced171',
    500: '#b4be2a',
    950: '#000000',
  },
}
SCSS
$custom: #b4be2a;
$custom-light: #ced171;
$custom-dark: #000000;
JSON
{
  "hex": "#b4be2a",
  "rgb": {
    "r": 180,
    "g": 190,
    "b": 42
  },
  "hsl": {
    "h": 64.054,
    "s": 63.793,
    "l": 45.49
  },
  "oklch": {
    "l": 0.76875,
    "c": 0.16032,
    "h": 113.6
  },
  "luminance": 0.46697
}

Semantic roles & 50–950 ramp

primary
#B4BE2A
secondary
#7E78CB
accent
#41E74C
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B

Preview Lab

Preview with #B4BE2A

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

Preview Lab → · Contrast checker → · Palette generator →

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