#B8B641#B8B641

#B8B641 is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.6% C 0.137 H 108.3°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#B8B641
RGBrgb(184, 182, 65)
HSLhsl(59, 48%, 49%)
HSVhsv(59, 65%, 72%)
CMYKcmyk(0%, 1.1%, 64.7%, 27.8%)
CIE-LABlab(72.25, -13.82, 57.54)
CIE-LCHlch(72.25, 59.18, 103.51°)
OKLaboklab(75.6% -0.0431 0.13)
OKLCHoklch(75.6% 0.137 108.3)
XYZxyz(37.4505, 44.0290, 11.5257)
Luminance0.4403 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B641 #4143B8
analogous
#B87B41 #B8B641 #7FB841
triadic
#B8B641 #41B8B6 #B641B8
tetradic
#B8B641 #41B87B #4143B8 #B8417F
square
#B8B641 #41B87B #4143B8 #B8417F
split-complementary
#B8B641 #417FB8 #7B41B8
monochromatic
#5E5D21 #8B8931 #B8B641 #CBC96B #DBDA99

Accessibility & contrast

On white

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

On black

9.81
#B8B641 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B641
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B641#FFFFFF#000000##000000
##B8B6411.002.149.819.81
#FFFFFF2.141.0021.0021.00
#0000009.8121.001.001.00
##0000009.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF31
Deuteranopia (green-blind)
#C6B348
Tritanopia (blue-blind)
#C5AB9E
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b8b641;
/* rgb */ color: rgb(184, 182, 65);
/* oklch */ color: oklch(75.6% 0.137 108.3);
Tailwind
colors: {
  custom: {
    50: '#d0cb7c',
    500: '#b8b641',
    950: '#000000',
  },
}
SCSS
$custom: #b8b641;
$custom-light: #d0cb7c;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b641",
  "rgb": {
    "r": 184,
    "g": 182,
    "b": 65
  },
  "hsl": {
    "h": 58.992,
    "s": 47.791,
    "l": 48.824
  },
  "oklch": {
    "l": 0.756,
    "c": 0.13696,
    "h": 108.3
  },
  "luminance": 0.44028
}

Semantic roles & 50–950 ramp

primary
#B8B641
secondary
#8E8FC7
accent
#53D750
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B8B641

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

Preview Lab → · Contrast checker → · Palette generator →

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