#B4BF45#B4BF45

#B4BF45 is a light, vivid yellow. Relative luminance 0.474; OKLCH L 77.3% C 0.145 H 114.2°. Best body text is #000000 at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#B4BF45
RGBrgb(180, 191, 69)
HSLhsl(65, 49%, 51%)
HSVhsv(65, 64%, 75%)
CMYKcmyk(5.8%, 0%, 63.9%, 25.1%)
CIE-LABlab(74.44, -19.79, 58.09)
CIE-LCHlch(74.44, 61.37, 108.82°)
OKLaboklab(77.29% -0.0592 0.1319)
OKLCHoklch(77.29% 0.145 114.2)
XYZxyz(38.5283, 47.3953, 12.7476)
Luminance0.4739 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BF45 #5045BF
analogous
#BF8D45 #B4BF45 #77BF45
triadic
#B4BF45 #45B4BF #BF45B4
tetradic
#B4BF45 #45BF8D #5045BF #BF4577
square
#B4BF45 #45BF8D #5045BF #BF4577
split-complementary
#B4BF45 #4577BF #8D45BF
monochromatic
#606623 #8B9433 #B4BF45 #C6CF73 #D9DEA0

Accessibility & contrast

On white

2.00
#B4BF45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.48
#B4BF45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4BF45
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4BF45#FFFFFF#000000##000000
##B4BF451.002.0010.4810.48
#FFFFFF2.001.0021.0021.00
#00000010.4821.001.001.00
##00000010.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB635
Deuteranopia (green-blind)
#CCB84D
Tritanopia (blue-blind)
#BFB4A6
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b4bf45;
/* rgb */ color: rgb(180, 191, 69);
/* oklch */ color: oklch(77.3% 0.145 114.2);
Tailwind
colors: {
  custom: {
    50: '#cdd27f',
    500: '#b4bf45',
    950: '#000000',
  },
}
SCSS
$custom: #b4bf45;
$custom-light: #cdd27f;
$custom-dark: #000000;
JSON
{
  "hex": "#b4bf45",
  "rgb": {
    "r": 180,
    "g": 191,
    "b": 69
  },
  "hsl": {
    "h": 65.41,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.77285,
    "c": 0.14456,
    "h": 114.2
  },
  "luminance": 0.47395
}

Semantic roles & 50–950 ramp

primary
#B4BF45
secondary
#9A95CB
accent
#4FD85C
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14140A
muted
#82827C

Preview Lab

Preview with #B4BF45

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

Preview Lab → · Contrast checker → · Palette generator →

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