#B2BB52#B2BB52

#B2BB52 is a light, vivid yellow. Relative luminance 0.456; OKLCH L 76.4% C 0.130 H 113.5°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#B2BB52
RGBrgb(178, 187, 82)
HSLhsl(65, 44%, 53%)
HSVhsv(65, 56%, 73%)
CMYKcmyk(4.8%, 0%, 56.1%, 26.7%)
CIE-LABlab(73.30, -17.67, 51.12)
CIE-LCHlch(73.30, 54.09, 109.07°)
OKLaboklab(76.37% -0.0518 0.1188)
OKLCHoklch(76.37% 0.13 113.5)
XYZxyz(37.6542, 45.6155, 14.8021)
Luminance0.4561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BB52 #5B52BB
analogous
#BB8F52 #B2BB52 #7DBB52
triadic
#B2BB52 #52B2BB #BB52B2
tetradic
#B2BB52 #52BB8F #5B52BB #BB527D
square
#B2BB52 #52BB8F #5B52BB #BB527D
split-complementary
#B2BB52 #527DBB #8F52BB
monochromatic
#646929 #8D953B #B2BB52 #C6CC7E #D9DEAA

Accessibility & contrast

On white

2.07
#B2BB52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.12
#B2BB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BB52
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BB52#FFFFFF#000000##000000
##B2BB521.002.0710.1210.12
#FFFFFF2.071.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B347
Deuteranopia (green-blind)
#C7B558
Tritanopia (blue-blind)
#BCB1A4
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b2bb52;
/* rgb */ color: rgb(178, 187, 82);
/* oklch */ color: oklch(76.4% 0.130 113.5);
Tailwind
colors: {
  custom: {
    50: '#cbcf86',
    500: '#b2bb52',
    950: '#000000',
  },
}
SCSS
$custom: #b2bb52;
$custom-light: #cbcf86;
$custom-dark: #000000;
JSON
{
  "hex": "#b2bb52",
  "rgb": {
    "r": 178,
    "g": 187,
    "b": 82
  },
  "hsl": {
    "h": 65.143,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.76367,
    "c": 0.12959,
    "h": 113.5
  },
  "luminance": 0.45615
}

Semantic roles & 50–950 ramp

primary
#B2BB52
secondary
#A29ECB
accent
#54D35F
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#14130B
muted
#82827C

Preview Lab

Preview with #B2BB52

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

Preview Lab → · Contrast checker → · Palette generator →

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