#B2B841#B2B841

#B2B841 is a light, vivid yellow. Relative luminance 0.441; OKLCH L 75.5% C 0.140 H 112.1°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#B2B841
RGBrgb(178, 184, 65)
HSLhsl(63, 48%, 49%)
HSVhsv(63, 65%, 72%)
CMYKcmyk(3.3%, 0%, 64.7%, 27.8%)
CIE-LABlab(72.31, -17.38, 57.46)
CIE-LCHlch(72.31, 60.03, 106.83°)
OKLaboklab(75.53% -0.0527 0.13)
OKLCHoklch(75.53% 0.14 112.1)
XYZxyz(36.4558, 44.1284, 11.5972)
Luminance0.4413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B841 #4741B8
analogous
#B88341 #B2B841 #77B841
triadic
#B2B841 #41B2B8 #B841B2
tetradic
#B2B841 #41B883 #4741B8 #B84177
square
#B2B841 #41B883 #4741B8 #B84177
split-complementary
#B2B841 #4177B8 #8341B8
monochromatic
#5B5E21 #868B31 #B2B841 #C6CB6B #D7DB99

Accessibility & contrast

On white

2.14
#B2B841 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.83
#B2B841 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B841
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B841#FFFFFF#000000##000000
##B2B8411.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B031
Deuteranopia (green-blind)
#C6B349
Tritanopia (blue-blind)
#BEADA0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b2b841;
/* rgb */ color: rgb(178, 184, 65);
/* oklch */ color: oklch(75.5% 0.140 112.1);
Tailwind
colors: {
  custom: {
    50: '#cccd7c',
    500: '#b2b841',
    950: '#000000',
  },
}
SCSS
$custom: #b2b841;
$custom-light: #cccd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b841",
  "rgb": {
    "r": 178,
    "g": 184,
    "b": 65
  },
  "hsl": {
    "h": 63.025,
    "s": 47.791,
    "l": 48.824
  },
  "oklch": {
    "l": 0.75534,
    "c": 0.14029,
    "h": 112.1
  },
  "luminance": 0.44128
}

Semantic roles & 50–950 ramp

primary
#B2B841
secondary
#918EC7
accent
#50D757
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B2B841

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

Preview Lab → · Contrast checker → · Palette generator →

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