#B2B651#B2B651

#B2B651 is a light, vivid yellow. Relative luminance 0.435; OKLCH L 75.3% C 0.125 H 111.1°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#B2B651
RGBrgb(178, 182, 81)
HSLhsl(62, 41%, 52%)
HSVhsv(62, 55%, 71%)
CMYKcmyk(2.2%, 0%, 55.5%, 28.6%)
CIE-LABlab(71.90, -15.22, 50.00)
CIE-LCHlch(71.90, 52.27, 106.93°)
OKLaboklab(75.25% -0.0449 0.1163)
OKLCHoklch(75.25% 0.125 111.1)
XYZxyz(36.5741, 43.5158, 14.2557)
Luminance0.4351 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B651 #5551B6
analogous
#B68851 #B2B651 #80B651
triadic
#B2B651 #51B2B6 #B651B2
tetradic
#B2B651 #51B688 #5551B6 #B65180
square
#B2B651 #51B688 #5551B6 #B65180
split-complementary
#B2B651 #5180B6 #8851B6
monochromatic
#61632A #8B8E3C #B2B651 #C5C87C #D8DAA7

Accessibility & contrast

On white

2.16
#B2B651 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.70
#B2B651 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B651
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B651#FFFFFF#000000##000000
##B2B6511.002.169.709.70
#FFFFFF2.161.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF47
Deuteranopia (green-blind)
#C3B257
Tritanopia (blue-blind)
#BDACA0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b2b651;
/* rgb */ color: rgb(178, 182, 81);
/* oklch */ color: oklch(75.3% 0.125 111.1);
Tailwind
colors: {
  custom: {
    50: '#cbcb85',
    500: '#b2b651',
    950: '#000000',
  },
}
SCSS
$custom: #b2b651;
$custom-light: #cbcb85;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b651",
  "rgb": {
    "r": 178,
    "g": 182,
    "b": 81
  },
  "hsl": {
    "h": 62.376,
    "s": 40.891,
    "l": 51.569
  },
  "oklch": {
    "l": 0.75252,
    "c": 0.12467,
    "h": 111.1
  },
  "luminance": 0.43515
}

Semantic roles & 50–950 ramp

primary
#B2B651
secondary
#9D9BC8
accent
#57D15C
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130B
muted
#82827C

Preview Lab

Preview with #B2B651

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

Preview Lab → · Contrast checker → · Palette generator →

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