#B4BF2D#B4BF2D

#B4BF2D is a light, vivid yellow. Relative luminance 0.472; OKLCH L 77.1% C 0.160 H 114.0°. Best body text is #000000 at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#B4BF2D
RGBrgb(180, 191, 45)
HSLhsl(65, 62%, 46%)
HSVhsv(65, 76%, 75%)
CMYKcmyk(5.8%, 0%, 76.4%, 25.1%)
CIE-LABlab(74.29, -21.07, 66.70)
CIE-LCHlch(74.29, 69.95, 107.53°)
OKLaboklab(77.11% -0.065 0.1461)
OKLCHoklch(77.11% 0.16 114)
XYZxyz(37.9280, 47.1551, 9.5860)
Luminance0.4715 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BF2D #382DBF
analogous
#BF812D #B4BF2D #6BBF2D
triadic
#B4BF2D #2DB4BF #BF2DB4
tetradic
#B4BF2D #2DBF81 #382DBF #BF2D6B
square
#B4BF2D #2DBF81 #382DBF #BF2D6B
split-complementary
#B4BF2D #2D6BBF #812DBF
monochromatic
#575C16 #858D21 #B4BF2D #CDD653 #DBE284

Accessibility & contrast

On white

2.01
#B4BF2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.43
#B4BF2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4BF2D
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4BF2D#FFFFFF#000000##000000
##B4BF2D1.002.0110.4310.43
#FFFFFF2.011.0021.0021.00
#00000010.4321.001.001.00
##00000010.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB503
Deuteranopia (green-blind)
#CDB83A
Tritanopia (blue-blind)
#C0B3A4
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b4bf2d;
/* rgb */ color: rgb(180, 191, 45);
/* oklch */ color: oklch(77.1% 0.160 114.0);
Tailwind
colors: {
  custom: {
    50: '#ced272',
    500: '#b4bf2d',
    950: '#000000',
  },
}
SCSS
$custom: #b4bf2d;
$custom-light: #ced272;
$custom-dark: #000000;
JSON
{
  "hex": "#b4bf2d",
  "rgb": {
    "r": 180,
    "g": 191,
    "b": 45
  },
  "hsl": {
    "h": 64.521,
    "s": 61.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.77114,
    "c": 0.15989,
    "h": 114
  },
  "luminance": 0.47154
}

Semantic roles & 50–950 ramp

primary
#B4BF2D
secondary
#827CCB
accent
#43E54F
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B4BF2D

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

Preview Lab → · Contrast checker → · Palette generator →

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