#B8B936#B8B936

#B8B936 is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.2% C 0.148 H 109.9°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#B8B936
RGBrgb(184, 185, 54)
HSLhsl(60, 55%, 47%)
HSVhsv(60, 71%, 73%)
CMYKcmyk(0.5%, 0%, 70.8%, 27.5%)
CIE-LABlab(72.99, -15.96, 62.56)
CIE-LCHlch(72.99, 64.56, 104.31°)
OKLaboklab(76.17% -0.0502 0.1388)
OKLCHoklch(76.17% 0.148 109.9)
XYZxyz(37.7833, 45.1557, 10.2149)
Luminance0.4516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B936 #3736B9
analogous
#B97936 #B8B936 #77B936
triadic
#B8B936 #36B8B9 #B936B8
tetradic
#B8B936 #36B979 #3736B9 #B93677
square
#B8B936 #36B979 #3736B9 #B93677
split-complementary
#B8B936 #3677B9 #7936B9
monochromatic
#5A5A1A #898A28 #B8B936 #CFD05D #DDDD8C

Accessibility & contrast

On white

2.09
#B8B936 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.03
#B8B936 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B936
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B936#FFFFFF#000000##000000
##B8B9361.002.0910.0310.03
#FFFFFF2.091.0021.0021.00
#00000010.0321.001.001.00
##00000010.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B11F
Deuteranopia (green-blind)
#C9B540
Tritanopia (blue-blind)
#C5AD9F
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b8b936;
/* rgb */ color: rgb(184, 185, 54);
/* oklch */ color: oklch(76.2% 0.148 109.9);
Tailwind
colors: {
  custom: {
    50: '#d1cd76',
    500: '#b8b936',
    950: '#000000',
  },
}
SCSS
$custom: #b8b936;
$custom-light: #d1cd76;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b936",
  "rgb": {
    "r": 184,
    "g": 185,
    "b": 54
  },
  "hsl": {
    "h": 60.458,
    "s": 54.812,
    "l": 46.863
  },
  "oklch": {
    "l": 0.76171,
    "c": 0.14756,
    "h": 109.9
  },
  "luminance": 0.45155
}

Semantic roles & 50–950 ramp

primary
#B8B936
secondary
#8483C8
accent
#4ADE4B
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B8B936

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

Preview Lab → · Contrast checker → · Palette generator →

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