#B2B935#B2B935

#B2B935 is a light, vivid yellow. Relative luminance 0.444; OKLCH L 75.7% C 0.150 H 112.5°. Best body text is #000000 at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#B2B935
RGBrgb(178, 185, 53)
HSLhsl(63, 55%, 47%)
HSVhsv(63, 71%, 73%)
CMYKcmyk(3.8%, 0%, 71.4%, 27.5%)
CIE-LABlab(72.51, -18.56, 62.29)
CIE-LCHlch(72.51, 64.99, 106.59°)
OKLaboklab(75.66% -0.0572 0.1382)
OKLCHoklch(75.66% 0.15 112.5)
XYZxyz(36.3528, 44.4208, 10.0266)
Luminance0.4442 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B935 #3C35B9
analogous
#B97E35 #B2B935 #70B935
triadic
#B2B935 #35B2B9 #B935B2
tetradic
#B2B935 #35B97E #3C35B9 #B93570
square
#B2B935 #35B97E #3C35B9 #B93570
split-complementary
#B2B935 #3570B9 #7E35B9
monochromatic
#565A1A #848927 #B2B935 #CAD05B #D9DE8B

Accessibility & contrast

On white

2.12
#B2B935 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.88
#B2B935 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B935
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B935#FFFFFF#000000##000000
##B2B9351.002.129.889.88
#FFFFFF2.121.0021.0021.00
#0000009.8821.001.001.00
##0000009.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B01D
Deuteranopia (green-blind)
#C7B33F
Tritanopia (blue-blind)
#BEAE9F
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b2b935;
/* rgb */ color: rgb(178, 185, 53);
/* oklch */ color: oklch(75.7% 0.150 112.5);
Tailwind
colors: {
  custom: {
    50: '#cccd75',
    500: '#b2b935',
    950: '#000000',
  },
}
SCSS
$custom: #b2b935;
$custom-light: #cccd75;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b935",
  "rgb": {
    "r": 178,
    "g": 185,
    "b": 53
  },
  "hsl": {
    "h": 63.182,
    "s": 55.462,
    "l": 46.667
  },
  "oklch": {
    "l": 0.75663,
    "c": 0.14959,
    "h": 112.5
  },
  "luminance": 0.4442
}

Semantic roles & 50–950 ramp

primary
#B2B935
secondary
#8682C8
accent
#49DF51
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B2B935

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

Preview Lab → · Contrast checker → · Palette generator →

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