#B2B752#B2B752

#B2B752 is a light, vivid yellow. Relative luminance 0.439; OKLCH L 75.5% C 0.125 H 111.6°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#B2B752
RGBrgb(178, 183, 82)
HSLhsl(63, 41%, 52%)
HSVhsv(63, 55%, 72%)
CMYKcmyk(2.7%, 0%, 55.2%, 28.2%)
CIE-LABlab(72.19, -15.65, 49.86)
CIE-LCHlch(72.19, 52.26, 107.42°)
OKLaboklab(75.48% -0.046 0.1161)
OKLCHoklch(75.48% 0.125 111.6)
XYZxyz(36.8174, 43.9419, 14.5232)
Luminance0.4394 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B752 #5752B7
analogous
#B78952 #B2B752 #80B752
triadic
#B2B752 #52B2B7 #B752B2
tetradic
#B2B752 #52B789 #5752B7 #B75280
square
#B2B752 #52B789 #5752B7 #B75280
split-complementary
#B2B752 #5280B7 #8952B7
monochromatic
#62652A #8C903C #B2B752 #C5C97D #D8DBA8

Accessibility & contrast

On white

2.15
#B2B752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.79
#B2B752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B752
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B752#FFFFFF#000000##000000
##B2B7521.002.159.799.79
#FFFFFF2.151.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B048
Deuteranopia (green-blind)
#C4B258
Tritanopia (blue-blind)
#BDADA1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b2b752;
/* rgb */ color: rgb(178, 183, 82);
/* oklch */ color: oklch(75.5% 0.125 111.6);
Tailwind
colors: {
  custom: {
    50: '#cbcc86',
    500: '#b2b752',
    950: '#000000',
  },
}
SCSS
$custom: #b2b752;
$custom-light: #cbcc86;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b752",
  "rgb": {
    "r": 178,
    "g": 183,
    "b": 82
  },
  "hsl": {
    "h": 62.97,
    "s": 41.224,
    "l": 51.961
  },
  "oklch": {
    "l": 0.75483,
    "c": 0.1249,
    "h": 111.6
  },
  "luminance": 0.43941
}

Semantic roles & 50–950 ramp

primary
#B2B752
secondary
#9E9CC9
accent
#57D15D
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#14130B
muted
#82827C

Preview Lab

Preview with #B2B752

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

Preview Lab → · Contrast checker → · Palette generator →

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