#B2B837#B2B837

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

Color values

HEX#B2B837
RGBrgb(178, 184, 55)
HSLhsl(63, 54%, 47%)
HSVhsv(63, 70%, 72%)
CMYKcmyk(3.3%, 0%, 70.1%, 27.8%)
CIE-LABlab(72.24, -17.96, 61.30)
CIE-LCHlch(72.24, 63.87, 106.33°)
OKLaboklab(75.46% -0.0553 0.1365)
OKLCHoklch(75.46% 0.147 112.1)
XYZxyz(36.1913, 44.0227, 10.2044)
Luminance0.4402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B837 #3D37B8
analogous
#B87E37 #B2B837 #71B837
triadic
#B2B837 #37B2B8 #B837B2
tetradic
#B2B837 #37B87E #3D37B8 #B83771
square
#B2B837 #37B87E #3D37B8 #B83771
split-complementary
#B2B837 #3771B8 #7E37B8
monochromatic
#575A1B #848929 #B2B837 #C9CF5D #D9DD8D

Accessibility & contrast

On white

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

On black

9.80
#B2B837 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B837
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B837#FFFFFF#000000##000000
##B2B8371.002.149.809.80
#FFFFFF2.141.0021.0021.00
#0000009.8021.001.001.00
##0000009.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B021
Deuteranopia (green-blind)
#C6B341
Tritanopia (blue-blind)
#BEAD9F
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b2b837;
/* rgb */ color: rgb(178, 184, 55);
/* oklch */ color: oklch(75.5% 0.147 112.1);
Tailwind
colors: {
  custom: {
    50: '#cccd76',
    500: '#b2b837',
    950: '#000000',
  },
}
SCSS
$custom: #b2b837;
$custom-light: #cccd76;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b837",
  "rgb": {
    "r": 178,
    "g": 184,
    "b": 55
  },
  "hsl": {
    "h": 62.791,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.75455,
    "c": 0.14727,
    "h": 112.1
  },
  "luminance": 0.44022
}

Semantic roles & 50–950 ramp

primary
#B2B837
secondary
#8784C7
accent
#4ADD51
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B2B837

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

Preview Lab → · Contrast checker → · Palette generator →

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