#B8B346#B8B346

#B8B346 is a light, vivid yellow. Relative luminance 0.429; OKLCH L 75.0% C 0.130 H 106.7°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#B8B346
RGBrgb(184, 179, 70)
HSLhsl(57, 45%, 50%)
HSVhsv(57, 62%, 72%)
CMYKcmyk(0%, 2.7%, 62%, 27.8%)
CIE-LABlab(71.47, -11.96, 54.60)
CIE-LCHlch(71.47, 55.90, 102.36°)
OKLaboklab(74.99% -0.0373 0.1245)
OKLCHoklch(74.99% 0.13 106.7)
XYZxyz(36.9940, 42.8739, 12.1200)
Luminance0.4287 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B346 #464BB8
analogous
#B87A46 #B8B346 #84B846
triadic
#B8B346 #46B8B3 #B346B8
tetradic
#B8B346 #46B87A #464BB8 #B84684
square
#B8B346 #46B87A #464BB8 #B84684
split-complementary
#B8B346 #4684B8 #7A46B8
monochromatic
#5F5D24 #8C8835 #B8B346 #C9C572 #DAD89E

Accessibility & contrast

On white

2.19
#B8B346 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#B8B346 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B346
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B346#FFFFFF#000000##000000
##B8B3461.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD39
Deuteranopia (green-blind)
#C4B14C
Tritanopia (blue-blind)
#C5A89C
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b8b346;
/* rgb */ color: rgb(184, 179, 70);
/* oklch */ color: oklch(75.0% 0.130 106.7);
Tailwind
colors: {
  custom: {
    50: '#d0c97e',
    500: '#b8b346',
    950: '#000000',
  },
}
SCSS
$custom: #b8b346;
$custom-light: #d0c97e;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b346",
  "rgb": {
    "r": 184,
    "g": 179,
    "b": 70
  },
  "hsl": {
    "h": 57.368,
    "s": 44.882,
    "l": 49.804
  },
  "oklch": {
    "l": 0.74992,
    "c": 0.12999,
    "h": 106.7
  },
  "luminance": 0.42873
}

Semantic roles & 50–950 ramp

primary
#B8B346
secondary
#9395C7
accent
#59D553
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B8B346

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

Preview Lab → · Contrast checker → · Palette generator →

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