#B6B837#B6B837

#B6B837 is a light, vivid yellow. Relative luminance 0.445; OKLCH L 75.8% C 0.146 H 110.3°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#B6B837
RGBrgb(182, 184, 55)
HSLhsl(61, 54%, 47%)
HSVhsv(61, 70%, 72%)
CMYKcmyk(1.1%, 0%, 70.1%, 27.8%)
CIE-LABlab(72.56, -16.25, 61.72)
CIE-LCHlch(72.56, 63.82, 104.75°)
OKLaboklab(75.79% -0.0508 0.1372)
OKLCHoklch(75.79% 0.146 110.3)
XYZxyz(37.1227, 44.5029, 10.2481)
Luminance0.4450 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6B837 #3937B8
analogous
#B87A37 #B6B837 #76B837
triadic
#B6B837 #37B6B8 #B837B6
tetradic
#B6B837 #37B87A #3937B8 #B83776
square
#B6B837 #37B87A #3937B8 #B83776
split-complementary
#B6B837 #3776B8 #7A37B8
monochromatic
#595A1B #878929 #B6B837 #CDCF5D #DCDD8D

Accessibility & contrast

On white

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

On black

9.90
#B6B837 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6B837
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6B837#FFFFFF#000000##000000
##B6B8371.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B021
Deuteranopia (green-blind)
#C8B441
Tritanopia (blue-blind)
#C3AC9F
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b6b837;
/* rgb */ color: rgb(182, 184, 55);
/* oklch */ color: oklch(75.8% 0.146 110.3);
Tailwind
colors: {
  custom: {
    50: '#cfcd76',
    500: '#b6b837',
    950: '#000000',
  },
}
SCSS
$custom: #b6b837;
$custom-light: #cfcd76;
$custom-dark: #000000;
JSON
{
  "hex": "#b6b837",
  "rgb": {
    "r": 182,
    "g": 184,
    "b": 55
  },
  "hsl": {
    "h": 60.93,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.75789,
    "c": 0.14634,
    "h": 110.3
  },
  "luminance": 0.44502
}

Semantic roles & 50–950 ramp

primary
#B6B837
secondary
#8584C7
accent
#4ADD4D
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B6B837

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

Preview Lab → · Contrast checker → · Palette generator →

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