#B8B539#B8B539

#B8B539 is a light, vivid yellow. Relative luminance 0.435; OKLCH L 75.3% C 0.142 H 108.0°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#B8B539
RGBrgb(184, 181, 57)
HSLhsl(59, 53%, 47%)
HSVhsv(59, 69%, 72%)
CMYKcmyk(0%, 1.6%, 69%, 27.8%)
CIE-LABlab(71.92, -13.77, 60.38)
CIE-LCHlch(71.92, 61.93, 102.84°)
OKLaboklab(75.32% -0.0437 0.1347)
OKLCHoklch(75.32% 0.142 108)
XYZxyz(37.0309, 43.5347, 10.3225)
Luminance0.4353 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B539 #393CB8
analogous
#B87639 #B8B539 #7BB839
triadic
#B8B539 #39B8B5 #B539B8
tetradic
#B8B539 #39B876 #393CB8 #B8397B
square
#B8B539 #39B876 #393CB8 #B8397B
split-complementary
#B8B539 #397BB8 #7639B8
monochromatic
#5B591C #89872B #B8B539 #CECB60 #DCDB8F

Accessibility & contrast

On white

2.16
#B8B539 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.71
#B8B539 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B539
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B539#FFFFFF#000000##000000
##B8B5391.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE26
Deuteranopia (green-blind)
#C6B242
Tritanopia (blue-blind)
#C5A99C
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b8b539;
/* rgb */ color: rgb(184, 181, 57);
/* oklch */ color: oklch(75.3% 0.142 108.0);
Tailwind
colors: {
  custom: {
    50: '#d1ca77',
    500: '#b8b539',
    950: '#000000',
  },
}
SCSS
$custom: #b8b539;
$custom-light: #d1ca77;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b539",
  "rgb": {
    "r": 184,
    "g": 181,
    "b": 57
  },
  "hsl": {
    "h": 58.583,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.75317,
    "c": 0.14163,
    "h": 108
  },
  "luminance": 0.43534
}

Semantic roles & 50–950 ramp

primary
#B8B539
secondary
#8687C7
accent
#4FDC4C
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B8B539

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

Preview Lab → · Contrast checker → · Palette generator →

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