#B7BF48#B7BF48

#B7BF48 is a light, vivid yellow. Relative luminance 0.478; OKLCH L 77.6% C 0.141 H 112.9°. Best body text is #000000 at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#B7BF48
RGBrgb(183, 191, 72)
HSLhsl(64, 48%, 52%)
HSVhsv(64, 62%, 75%)
CMYKcmyk(4.2%, 0%, 62.3%, 25.1%)
CIE-LABlab(74.70, -18.35, 57.18)
CIE-LCHlch(74.70, 60.05, 107.79°)
OKLaboklab(77.55% -0.055 0.1303)
OKLCHoklch(77.55% 0.141 112.9)
XYZxyz(39.3300, 47.7976, 13.2837)
Luminance0.4780 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BF48 #5048BF
analogous
#BF8C48 #B7BF48 #7CBF48
triadic
#B7BF48 #48B7BF #BF48B7
tetradic
#B7BF48 #48BF8C #5048BF #BF487C
square
#B7BF48 #48BF8C #5048BF #BF487C
split-complementary
#B7BF48 #487CBF #8C48BF
monochromatic
#646824 #8F9634 #B7BF48 #C9CF75 #DBDFA3

Accessibility & contrast

On white

1.99
#B7BF48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.56
#B7BF48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BF48
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BF48#FFFFFF#000000##000000
##B7BF481.001.9910.5610.56
#FFFFFF1.991.0021.0021.00
#00000010.5621.001.001.00
##00000010.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB639
Deuteranopia (green-blind)
#CDB950
Tritanopia (blue-blind)
#C3B4A6
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b7bf48;
/* rgb */ color: rgb(183, 191, 72);
/* oklch */ color: oklch(77.6% 0.141 112.9);
Tailwind
colors: {
  custom: {
    50: '#cfd280',
    500: '#b7bf48',
    950: '#000000',
  },
}
SCSS
$custom: #b7bf48;
$custom-light: #cfd280;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bf48",
  "rgb": {
    "r": 183,
    "g": 191,
    "b": 72
  },
  "hsl": {
    "h": 64.034,
    "s": 48.178,
    "l": 51.569
  },
  "oklch": {
    "l": 0.77554,
    "c": 0.14145,
    "h": 112.9
  },
  "luminance": 0.47797
}

Semantic roles & 50–950 ramp

primary
#B7BF48
secondary
#9B97CC
accent
#50D859
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14140B
muted
#83827C

Preview Lab

Preview with #B7BF48

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

Preview Lab → · Contrast checker → · Palette generator →

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