#B2B352#B2B352

#B2B352 is a light, vivid yellow. Relative luminance 0.423; OKLCH L 74.6% C 0.120 H 109.5°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#B2B352
RGBrgb(178, 179, 82)
HSLhsl(61, 39%, 51%)
HSVhsv(61, 54%, 70%)
CMYKcmyk(0.6%, 0%, 54.2%, 29.8%)
CIE-LABlab(71.09, -13.60, 48.60)
CIE-LCHlch(71.09, 50.47, 105.63°)
OKLaboklab(74.6% -0.0402 0.1134)
OKLCHoklch(74.6% 0.12 109.5)
XYZxyz(36.0041, 42.3153, 14.2521)
Luminance0.4231 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B352 #5352B3
analogous
#B38352 #B2B352 #81B352
triadic
#B2B352 #52B2B3 #B352B2
tetradic
#B2B352 #52B383 #5352B3 #B35281
square
#B2B352 #52B383 #5352B3 #B35281
split-complementary
#B2B352 #5281B3 #8352B3
monochromatic
#60602A #8A8B3D #B2B352 #C5C67D #D8D8A7

Accessibility & contrast

On white

2.22
#B2B352 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.46
#B2B352 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B352
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B352#FFFFFF#000000##000000
##B2B3521.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AC48
Deuteranopia (green-blind)
#C1B057
Tritanopia (blue-blind)
#BDA99D
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b2b352;
/* rgb */ color: rgb(178, 179, 82);
/* oklch */ color: oklch(74.6% 0.120 109.5);
Tailwind
colors: {
  custom: {
    50: '#cbc986',
    500: '#b2b352',
    950: '#000000',
  },
}
SCSS
$custom: #b2b352;
$custom-light: #cbc986;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b352",
  "rgb": {
    "r": 178,
    "g": 179,
    "b": 82
  },
  "hsl": {
    "h": 60.619,
    "s": 38.956,
    "l": 51.176
  },
  "oklch": {
    "l": 0.74604,
    "c": 0.12032,
    "h": 109.5
  },
  "luminance": 0.42314
}

Semantic roles & 50–950 ramp

primary
#B2B352
secondary
#9B9BC6
accent
#59CF5A
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130B
muted
#82827C

Preview Lab

Preview with #B2B352

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

Preview Lab → · Contrast checker → · Palette generator →

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