#B8B341#B8B341

#B8B341 is a light, vivid yellow. Relative luminance 0.428; OKLCH L 74.9% C 0.134 H 106.8°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#B8B341
RGBrgb(184, 179, 65)
HSLhsl(57, 48%, 49%)
HSVhsv(57, 65%, 72%)
CMYKcmyk(0%, 2.7%, 64.7%, 27.8%)
CIE-LABlab(71.43, -12.28, 56.69)
CIE-LCHlch(71.43, 58.00, 102.22°)
OKLaboklab(74.95% -0.0387 0.1282)
OKLCHoklch(74.95% 0.134 106.8)
XYZxyz(36.8427, 42.8134, 11.3231)
Luminance0.4281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B341 #4146B8
analogous
#B87841 #B8B341 #82B841
triadic
#B8B341 #41B8B3 #B341B8
tetradic
#B8B341 #41B878 #4146B8 #B84182
square
#B8B341 #41B878 #4146B8 #B84182
split-complementary
#B8B341 #4182B8 #7841B8
monochromatic
#5E5B21 #8B8731 #B8B341 #CBC76B #DBD899

Accessibility & contrast

On white

2.20
#B8B341 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.56
#B8B341 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B341
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B341#FFFFFF#000000##000000
##B8B3411.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC32
Deuteranopia (green-blind)
#C4B148
Tritanopia (blue-blind)
#C5A89B
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b8b341;
/* rgb */ color: rgb(184, 179, 65);
/* oklch */ color: oklch(74.9% 0.134 106.8);
Tailwind
colors: {
  custom: {
    50: '#d0c97b',
    500: '#b8b341',
    950: '#000000',
  },
}
SCSS
$custom: #b8b341;
$custom-light: #d0c97b;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b341",
  "rgb": {
    "r": 184,
    "g": 179,
    "b": 65
  },
  "hsl": {
    "h": 57.479,
    "s": 47.791,
    "l": 48.824
  },
  "oklch": {
    "l": 0.74946,
    "c": 0.13393,
    "h": 106.8
  },
  "luminance": 0.42812
}

Semantic roles & 50–950 ramp

primary
#B8B341
secondary
#8E90C7
accent
#56D750
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B8B341

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

Preview Lab → · Contrast checker → · Palette generator →

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