#B8B336#B8B336

#B8B336 is a light, vivid yellow. Relative luminance 0.427; OKLCH L 74.9% C 0.142 H 107.1°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#B8B336
RGBrgb(184, 179, 54)
HSLhsl(58, 55%, 47%)
HSVhsv(58, 71%, 72%)
CMYKcmyk(0%, 2.7%, 70.7%, 27.8%)
CIE-LABlab(71.35, -12.90, 60.96)
CIE-LCHlch(71.35, 62.31, 101.94°)
OKLaboklab(74.86% -0.0416 0.1354)
OKLCHoklch(74.86% 0.142 107.1)
XYZxyz(36.5545, 42.6981, 9.8053)
Luminance0.4270 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B336 #363BB8
analogous
#B87236 #B8B336 #7CB836
triadic
#B8B336 #36B8B3 #B336B8
tetradic
#B8B336 #36B872 #363BB8 #B8367C
square
#B8B336 #36B872 #363BB8 #B8367C
split-complementary
#B8B336 #367CB8 #7236B8
monochromatic
#59571A #898528 #B8B336 #CFCB5C #DDDA8B

Accessibility & contrast

On white

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

On black

9.54
#B8B336 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B336
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B336#FFFFFF#000000##000000
##B8B3361.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC21
Deuteranopia (green-blind)
#C5B13F
Tritanopia (blue-blind)
#C5A79A
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b8b336;
/* rgb */ color: rgb(184, 179, 54);
/* oklch */ color: oklch(74.9% 0.142 107.1);
Tailwind
colors: {
  custom: {
    50: '#d1c975',
    500: '#b8b336',
    950: '#000000',
  },
}
SCSS
$custom: #b8b336;
$custom-light: #d1c975;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b336",
  "rgb": {
    "r": 184,
    "g": 179,
    "b": 54
  },
  "hsl": {
    "h": 57.692,
    "s": 54.622,
    "l": 46.667
  },
  "oklch": {
    "l": 0.74858,
    "c": 0.14163,
    "h": 107.1
  },
  "luminance": 0.42697
}

Semantic roles & 50–950 ramp

primary
#B8B336
secondary
#8285C7
accent
#50DE4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B8B336

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

Preview Lab → · Contrast checker → · Palette generator →

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