#B4BE2C#B4BE2C

#B4BE2C 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#B4BE2C
RGBrgb(180, 190, 44)
HSLhsl(64, 62%, 46%)
HSVhsv(64, 77%, 75%)
CMYKcmyk(5.3%, 0%, 76.8%, 25.5%)
CIE-LABlab(74.01, -20.61, 66.75)
CIE-LCHlch(74.01, 69.86, 107.16°)
OKLaboklab(76.89% -0.0638 0.146)
OKLCHoklch(76.89% 0.159 113.6)
XYZxyz(37.6917, 46.7129, 9.4133)
Luminance0.4671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BE2C #362CBE
analogous
#BE7F2C #B4BE2C #6BBE2C
triadic
#B4BE2C #2CB4BE #BE2CB4
tetradic
#B4BE2C #2CBE7F #362CBE #BE2C6B
square
#B4BE2C #2CBE7F #362CBE #BE2C6B
split-complementary
#B4BE2C #2C6BBE #7F2CBE
monochromatic
#565B15 #858C20 #B4BE2C #CDD751 #DCE282

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4BE2C#FFFFFF#000000##000000
##B4BE2C1.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)
#CCB739
Tritanopia (blue-blind)
#C0B2A3
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b4be2c;
/* rgb */ color: rgb(180, 190, 44);
/* oklch */ color: oklch(76.9% 0.159 113.6);
Tailwind
colors: {
  custom: {
    50: '#ced172',
    500: '#b4be2c',
    950: '#000000',
  },
}
SCSS
$custom: #b4be2c;
$custom-light: #ced172;
$custom-dark: #000000;
JSON
{
  "hex": "#b4be2c",
  "rgb": {
    "r": 180,
    "g": 190,
    "b": 44
  },
  "hsl": {
    "h": 64.11,
    "s": 62.393,
    "l": 45.882
  },
  "oklch": {
    "l": 0.76885,
    "c": 0.15934,
    "h": 113.6
  },
  "luminance": 0.46712
}

Semantic roles & 50–950 ramp

primary
#B4BE2C
secondary
#807BCB
accent
#42E54E
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B4BE2C

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

Preview Lab → · Contrast checker → · Palette generator →

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