#B2B835#B2B835

#B2B835 is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.4% C 0.149 H 112.1°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#B2B835
RGBrgb(178, 184, 53)
HSLhsl(63, 55%, 46%)
HSVhsv(63, 71%, 72%)
CMYKcmyk(3.3%, 0%, 71.2%, 27.8%)
CIE-LABlab(72.23, -18.06, 62.02)
CIE-LCHlch(72.23, 64.59, 106.24°)
OKLaboklab(75.44% -0.0558 0.1376)
OKLCHoklch(75.44% 0.149 112.1)
XYZxyz(36.1443, 44.0039, 9.9571)
Luminance0.4400 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B835 #3B35B8
analogous
#B87D35 #B2B835 #71B835
triadic
#B2B835 #35B2B8 #B835B2
tetradic
#B2B835 #35B87D #3B35B8 #B83571
square
#B2B835 #35B87D #3B35B8 #B83571
split-complementary
#B2B835 #3571B8 #7D35B8
monochromatic
#56591A #848827 #B2B835 #CAD05B #DADD8A

Accessibility & contrast

On white

2.14
#B2B835 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.80
#B2B835 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B835
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B835#FFFFFF#000000##000000
##B2B8351.002.149.809.80
#FFFFFF2.141.0021.0021.00
#0000009.8021.001.001.00
##0000009.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF1E
Deuteranopia (green-blind)
#C7B33F
Tritanopia (blue-blind)
#BEAD9F
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b2b835;
/* rgb */ color: rgb(178, 184, 53);
/* oklch */ color: oklch(75.4% 0.149 112.1);
Tailwind
colors: {
  custom: {
    50: '#cccd75',
    500: '#b2b835',
    950: '#000000',
  },
}
SCSS
$custom: #b2b835;
$custom-light: #cccd75;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b835",
  "rgb": {
    "r": 178,
    "g": 184,
    "b": 53
  },
  "hsl": {
    "h": 62.748,
    "s": 55.274,
    "l": 46.471
  },
  "oklch": {
    "l": 0.75441,
    "c": 0.14853,
    "h": 112.1
  },
  "luminance": 0.44003
}

Semantic roles & 50–950 ramp

primary
#B2B835
secondary
#8581C7
accent
#49DF50
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B2B835

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

Preview Lab → · Contrast checker → · Palette generator →

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