#B2BF48#B2BF48

#B2BF48 is a light, vivid yellow. Relative luminance 0.472; OKLCH L 77.2% C 0.143 H 115.1°. Best body text is #000000 at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#B2BF48
RGBrgb(178, 191, 72)
HSLhsl(67, 48%, 52%)
HSVhsv(67, 62%, 75%)
CMYKcmyk(6.8%, 0%, 62.3%, 25.1%)
CIE-LABlab(74.31, -20.42, 56.66)
CIE-LCHlch(74.31, 60.23, 109.82°)
OKLaboklab(77.15% -0.0605 0.1293)
OKLCHoklch(77.15% 0.143 115.1)
XYZxyz(38.1615, 47.1951, 13.2289)
Luminance0.4719 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BF48 #5548BF
analogous
#BF9148 #B2BF48 #77BF48
triadic
#B2BF48 #48B2BF #BF48B2
tetradic
#B2BF48 #48BF91 #5548BF #BF4877
square
#B2BF48 #48BF91 #5548BF #BF4877
split-complementary
#B2BF48 #4877BF #9148BF
monochromatic
#616824 #8B9634 #B2BF48 #C5CF75 #D8DFA3

Accessibility & contrast

On white

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

On black

10.44
#B2BF48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BF48
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BF48#FFFFFF#000000##000000
##B2BF481.002.0110.4410.44
#FFFFFF2.011.0021.0021.00
#00000010.4421.001.001.00
##00000010.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB639
Deuteranopia (green-blind)
#CBB850
Tritanopia (blue-blind)
#BDB5A6
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b2bf48;
/* rgb */ color: rgb(178, 191, 72);
/* oklch */ color: oklch(77.2% 0.143 115.1);
Tailwind
colors: {
  custom: {
    50: '#ccd280',
    500: '#b2bf48',
    950: '#000000',
  },
}
SCSS
$custom: #b2bf48;
$custom-light: #ccd280;
$custom-dark: #000000;
JSON
{
  "hex": "#b2bf48",
  "rgb": {
    "r": 178,
    "g": 191,
    "b": 72
  },
  "hsl": {
    "h": 66.555,
    "s": 48.178,
    "l": 51.569
  },
  "oklch": {
    "l": 0.77153,
    "c": 0.14279,
    "h": 115.1
  },
  "luminance": 0.47194
}

Semantic roles & 50–950 ramp

primary
#B2BF48
secondary
#9D97CC
accent
#50D85F
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14140B
muted
#82827C

Preview Lab

Preview with #B2BF48

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

Preview Lab → · Contrast checker → · Palette generator →

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