#B2B949#B2B949

#B2B949 is a light, vivid yellow. Relative luminance 0.446; OKLCH L 75.8% C 0.135 H 112.5°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#B2B949
RGBrgb(178, 185, 73)
HSLhsl(64, 44%, 51%)
HSVhsv(64, 61%, 73%)
CMYKcmyk(3.8%, 0%, 60.5%, 27.5%)
CIE-LABlab(72.66, -17.35, 54.44)
CIE-LCHlch(72.66, 57.14, 107.68°)
OKLaboklab(75.83% -0.0518 0.1248)
OKLCHoklch(75.83% 0.135 112.5)
XYZxyz(36.9126, 44.6447, 12.9748)
Luminance0.4464 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B949 #5049B9
analogous
#B98849 #B2B949 #7AB949
triadic
#B2B949 #49B2B9 #B949B2
tetradic
#B2B949 #49B988 #5049B9 #B9497A
square
#B2B949 #49B988 #5049B9 #B9497A
split-complementary
#B2B949 #497AB9 #8849B9
monochromatic
#5E6226 #898E37 #B2B949 #C5CA75 #D7DBA1

Accessibility & contrast

On white

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

On black

9.93
#B2B949 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B949
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B949#FFFFFF#000000##000000
##B2B9491.002.129.939.93
#FFFFFF2.121.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B13C
Deuteranopia (green-blind)
#C6B450
Tritanopia (blue-blind)
#BDAFA1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b2b949;
/* rgb */ color: rgb(178, 185, 73);
/* oklch */ color: oklch(75.8% 0.135 112.5);
Tailwind
colors: {
  custom: {
    50: '#cccd80',
    500: '#b2b949',
    950: '#000000',
  },
}
SCSS
$custom: #b2b949;
$custom-light: #cccd80;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b949",
  "rgb": {
    "r": 178,
    "g": 185,
    "b": 73
  },
  "hsl": {
    "h": 63.75,
    "s": 44.444,
    "l": 50.588
  },
  "oklch": {
    "l": 0.7583,
    "c": 0.13509,
    "h": 112.5
  },
  "luminance": 0.44644
}

Semantic roles & 50–950 ramp

primary
#B2B949
secondary
#9996C8
accent
#54D45C
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14130B
muted
#82827C

Preview Lab

Preview with #B2B949

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

Preview Lab → · Contrast checker → · Palette generator →

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