#B2B549#B2B549

#B2B549 is a light, vivid yellow. Relative luminance 0.430; OKLCH L 74.9% C 0.131 H 110.7°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#B2B549
RGBrgb(178, 181, 73)
HSLhsl(62, 43%, 50%)
HSVhsv(62, 60%, 71%)
CMYKcmyk(1.7%, 0%, 59.7%, 29%)
CIE-LABlab(71.55, -15.32, 53.23)
CIE-LCHlch(71.55, 55.39, 106.06°)
OKLaboklab(74.95% -0.0461 0.1222)
OKLCHoklch(74.95% 0.131 110.7)
XYZxyz(36.0876, 42.9946, 12.6998)
Luminance0.4299 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B549 #4C49B5
analogous
#B58249 #B2B549 #7CB549
triadic
#B2B549 #49B2B5 #B549B2
tetradic
#B2B549 #49B582 #4C49B5 #B5497C
square
#B2B549 #49B582 #4C49B5 #B5497C
split-complementary
#B2B549 #497CB5 #8249B5
monochromatic
#5C5E26 #878937 #B2B549 #C5C774 #D7D9A0

Accessibility & contrast

On white

2.19
#B2B549 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.60
#B2B549 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B549
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B549#FFFFFF#000000##000000
##B2B5491.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AE3D
Deuteranopia (green-blind)
#C3B14F
Tritanopia (blue-blind)
#BDAB9E
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b2b549;
/* rgb */ color: rgb(178, 181, 73);
/* oklch */ color: oklch(74.9% 0.131 110.7);
Tailwind
colors: {
  custom: {
    50: '#cccb80',
    500: '#b2b549',
    950: '#000000',
  },
}
SCSS
$custom: #b2b549;
$custom-light: #cccb80;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b549",
  "rgb": {
    "r": 178,
    "g": 181,
    "b": 73
  },
  "hsl": {
    "h": 61.667,
    "s": 42.52,
    "l": 49.804
  },
  "oklch": {
    "l": 0.74946,
    "c": 0.1306,
    "h": 110.7
  },
  "luminance": 0.42994
}

Semantic roles & 50–950 ramp

primary
#B2B549
secondary
#9694C5
accent
#55D259
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130A
muted
#82827C

Preview Lab

Preview with #B2B549

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

Preview Lab → · Contrast checker → · Palette generator →

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