#B2B930#B2B930

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

Color values

HEX#B2B930
RGBrgb(178, 185, 48)
HSLhsl(63, 59%, 46%)
HSVhsv(63, 74%, 73%)
CMYKcmyk(3.8%, 0%, 74.1%, 27.5%)
CIE-LABlab(72.48, -18.80, 64.00)
CIE-LCHlch(72.48, 66.70, 106.37°)
OKLaboklab(75.63% -0.0583 0.141)
OKLCHoklch(75.63% 0.153 112.5)
XYZxyz(36.2437, 44.3772, 9.4521)
Luminance0.4438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B930 #3730B9
analogous
#B97B30 #B2B930 #6DB930
triadic
#B2B930 #30B2B9 #B930B2
tetradic
#B2B930 #30B97B #3730B9 #B9306D
square
#B2B930 #30B97B #3730B9 #B9306D
split-complementary
#B2B930 #306DB9 #7B30B9
monochromatic
#545817 #838823 #B2B930 #CCD354 #DBDF84

Accessibility & contrast

On white

2.13
#B2B930 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2B930#FFFFFF#000000##000000
##B2B9301.002.139.889.88
#FFFFFF2.131.0021.0021.00
#0000009.8821.001.001.00
##0000009.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2b930;
/* rgb */ color: rgb(178, 185, 48);
/* oklch */ color: oklch(75.6% 0.153 112.5);
Tailwind
colors: {
  custom: {
    50: '#cdcd73',
    500: '#b2b930',
    950: '#000000',
  },
}
SCSS
$custom: #b2b930;
$custom-light: #cdcd73;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b930",
  "rgb": {
    "r": 178,
    "g": 185,
    "b": 48
  },
  "hsl": {
    "h": 63.066,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.75631,
    "c": 0.15255,
    "h": 112.5
  },
  "luminance": 0.44376
}

Semantic roles & 50–950 ramp

primary
#B2B930
secondary
#807CC9
accent
#46E24E
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B2B930

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

Preview Lab → · Contrast checker → · Palette generator →

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