#B2B541#B2B541

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

Color values

HEX#B2B541
RGBrgb(178, 181, 65)
HSLhsl(62, 47%, 48%)
HSVhsv(62, 64%, 71%)
CMYKcmyk(1.7%, 0%, 64.1%, 29%)
CIE-LABlab(71.48, -15.86, 56.59)
CIE-LCHlch(71.48, 58.77, 105.66°)
OKLaboklab(74.87% -0.0485 0.1282)
OKLCHoklch(74.87% 0.137 110.7)
XYZxyz(35.8392, 42.8953, 11.3917)
Luminance0.4289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B541 #4441B5
analogous
#B57E41 #B2B541 #78B541
triadic
#B2B541 #41B2B5 #B541B2
tetradic
#B2B541 #41B57E #4441B5 #B54178
square
#B2B541 #41B57E #4441B5 #B54178
split-complementary
#B2B541 #4178B5 #7E41B5
monochromatic
#595B21 #868831 #B2B541 #C7C96A #D8DA97

Accessibility & contrast

On white

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

On black

9.58
#B2B541 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B541
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B541#FFFFFF#000000##000000
##B2B5411.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD32
Deuteranopia (green-blind)
#C4B149
Tritanopia (blue-blind)
#BEAA9D
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b2b541;
/* rgb */ color: rgb(178, 181, 65);
/* oklch */ color: oklch(74.9% 0.137 110.7);
Tailwind
colors: {
  custom: {
    50: '#cccb7b',
    500: '#b2b541',
    950: '#000000',
  },
}
SCSS
$custom: #b2b541;
$custom-light: #cccb7b;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b541",
  "rgb": {
    "r": 178,
    "g": 181,
    "b": 65
  },
  "hsl": {
    "h": 61.552,
    "s": 47.154,
    "l": 48.235
  },
  "oklch": {
    "l": 0.7487,
    "c": 0.13703,
    "h": 110.7
  },
  "luminance": 0.42894
}

Semantic roles & 50–950 ramp

primary
#B2B541
secondary
#8E8CC5
accent
#51D754
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B2B541

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

Preview Lab → · Contrast checker → · Palette generator →

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