#B8B837#B8B837

#B8B837 is a light, vivid yellow. Relative luminance 0.447; OKLCH L 76.0% C 0.146 H 109.4°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#B8B837
RGBrgb(184, 184, 55)
HSLhsl(60, 54%, 47%)
HSVhsv(60, 70%, 72%)
CMYKcmyk(0%, 0%, 70.1%, 27.8%)
CIE-LABlab(72.73, -15.40, 61.93)
CIE-LCHlch(72.73, 63.82, 103.96°)
OKLaboklab(75.96% -0.0485 0.1376)
OKLCHoklch(75.96% 0.146 109.4)
XYZxyz(37.5986, 44.7483, 10.2704)
Luminance0.4475 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B837 #3737B8
analogous
#B87837 #B8B837 #78B837
triadic
#B8B837 #37B8B8 #B837B8
tetradic
#B8B837 #37B878 #3737B8 #B83778
square
#B8B837 #37B878 #3737B8 #B83778
split-complementary
#B8B837 #3778B8 #7837B8
monochromatic
#5A5A1B #898929 #B8B837 #CFCF5D #DDDD8D

Accessibility & contrast

On white

2.11
#B8B837 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.95
#B8B837 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B837
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B837#FFFFFF#000000##000000
##B8B8371.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8b837;
/* rgb */ color: rgb(184, 184, 55);
/* oklch */ color: oklch(76.0% 0.146 109.4);
Tailwind
colors: {
  custom: {
    50: '#d1cd76',
    500: '#b8b837',
    950: '#000000',
  },
}
SCSS
$custom: #b8b837;
$custom-light: #d1cd76;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b837",
  "rgb": {
    "r": 184,
    "g": 184,
    "b": 55
  },
  "hsl": {
    "h": 60,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.75959,
    "c": 0.14593,
    "h": 109.4
  },
  "luminance": 0.44747
}

Semantic roles & 50–950 ramp

primary
#B8B837
secondary
#8484C7
accent
#4ADD4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B8B837

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

Preview Lab → · Contrast checker → · Palette generator →

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