#B2BF52#B2BF52

#B2BF52 is a light, vivid yellow. Relative luminance 0.473; OKLCH L 77.3% C 0.134 H 115.3°. Best body text is #000000 at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#B2BF52
RGBrgb(178, 191, 82)
HSLhsl(67, 46%, 54%)
HSVhsv(67, 57%, 75%)
CMYKcmyk(6.8%, 0%, 57.1%, 25.1%)
CIE-LABlab(74.40, -19.68, 52.37)
CIE-LCHlch(74.40, 55.95, 110.59°)
OKLaboklab(77.25% -0.0574 0.1215)
OKLCHoklch(77.25% 0.134 115.3)
XYZxyz(38.5146, 47.3363, 15.0889)
Luminance0.4734 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BF52 #5F52BF
analogous
#BF9552 #B2BF52 #7BBF52
triadic
#B2BF52 #52B2BF #BF52B2
tetradic
#B2BF52 #52BF95 #5F52BF #BF527B
square
#B2BF52 #52BF95 #5F52BF #BF527B
split-complementary
#B2BF52 #527BBF #9552BF
monochromatic
#666E29 #8F9B39 #B2BF52 #C6D07F #DAE0AB

Accessibility & contrast

On white

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

On black

10.47
#B2BF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BF52
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BF52#FFFFFF#000000##000000
##B2BF521.002.0110.4710.47
#FFFFFF2.011.0021.0021.00
#00000010.4721.001.001.00
##00000010.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB646
Deuteranopia (green-blind)
#CAB859
Tritanopia (blue-blind)
#BCB5A7
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b2bf52;
/* rgb */ color: rgb(178, 191, 82);
/* oklch */ color: oklch(77.3% 0.134 115.3);
Tailwind
colors: {
  custom: {
    50: '#cbd286',
    500: '#b2bf52',
    950: '#000000',
  },
}
SCSS
$custom: #b2bf52;
$custom-light: #cbd286;
$custom-dark: #000000;
JSON
{
  "hex": "#b2bf52",
  "rgb": {
    "r": 178,
    "g": 191,
    "b": 82
  },
  "hsl": {
    "h": 67.156,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.77254,
    "c": 0.13437,
    "h": 115.3
  },
  "luminance": 0.47336
}

Semantic roles & 50–950 ramp

primary
#B2BF52
secondary
#A59FCE
accent
#52D662
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#14140B
muted
#82827C

Preview Lab

Preview with #B2BF52

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

Preview Lab → · Contrast checker → · Palette generator →

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