#B2BD52#B2BD52

#B2BD52 is a light, vivid yellow. Relative luminance 0.465; OKLCH L 76.8% C 0.132 H 114.4°. Best body text is #000000 at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#B2BD52
RGBrgb(178, 189, 82)
HSLhsl(66, 45%, 53%)
HSVhsv(66, 57%, 74%)
CMYKcmyk(5.8%, 0%, 56.6%, 25.9%)
CIE-LABlab(73.85, -18.68, 51.75)
CIE-LCHlch(73.85, 55.01, 109.85°)
OKLaboklab(76.81% -0.0546 0.1201)
OKLCHoklch(76.81% 0.132 114.4)
XYZxyz(38.0815, 46.4700, 14.9445)
Luminance0.4647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BD52 #5D52BD
analogous
#BD9252 #B2BD52 #7CBD52
triadic
#B2BD52 #52B2BD #BD52B2
tetradic
#B2BD52 #52BD92 #5D52BD #BD527C
square
#B2BD52 #52BD92 #5D52BD #BD527C
split-complementary
#B2BD52 #527CBD #9252BD
monochromatic
#656C29 #8E983A #B2BD52 #C6CE7E #D9DFAB

Accessibility & contrast

On white

2.04
#B2BD52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.29
#B2BD52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BD52
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BD52#FFFFFF#000000##000000
##B2BD521.002.0410.2910.29
#FFFFFF2.041.0021.0021.00
#00000010.2921.001.001.00
##00000010.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B547
Deuteranopia (green-blind)
#C9B758
Tritanopia (blue-blind)
#BCB3A6
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b2bd52;
/* rgb */ color: rgb(178, 189, 82);
/* oklch */ color: oklch(76.8% 0.132 114.4);
Tailwind
colors: {
  custom: {
    50: '#cbd086',
    500: '#b2bd52',
    950: '#000000',
  },
}
SCSS
$custom: #b2bd52;
$custom-light: #cbd086;
$custom-dark: #000000;
JSON
{
  "hex": "#b2bd52",
  "rgb": {
    "r": 178,
    "g": 189,
    "b": 82
  },
  "hsl": {
    "h": 66.168,
    "s": 44.77,
    "l": 53.137
  },
  "oklch": {
    "l": 0.7681,
    "c": 0.13197,
    "h": 114.4
  },
  "luminance": 0.46469
}

Semantic roles & 50–950 ramp

primary
#B2BD52
secondary
#A39ECC
accent
#53D461
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#14140B
muted
#82827C

Preview Lab

Preview with #B2BD52

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

Preview Lab → · Contrast checker → · Palette generator →

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