#B8B345#B8B345

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

Color values

HEX#B8B345
RGBrgb(184, 179, 69)
HSLhsl(57, 45%, 50%)
HSVhsv(57, 63%, 72%)
CMYKcmyk(0%, 2.7%, 62.5%, 27.8%)
CIE-LABlab(71.46, -12.03, 55.02)
CIE-LCHlch(71.46, 56.32, 102.33°)
OKLaboklab(74.98% -0.0375 0.1253)
OKLCHoklch(74.98% 0.131 106.7)
XYZxyz(36.9627, 42.8614, 11.9551)
Luminance0.4286 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B345 #454AB8
analogous
#B87945 #B8B345 #84B845
triadic
#B8B345 #45B8B3 #B345B8
tetradic
#B8B345 #45B879 #454AB8 #B84584
square
#B8B345 #45B879 #454AB8 #B84584
split-complementary
#B8B345 #4584B8 #7945B8
monochromatic
#5F5C24 #8B8834 #B8B345 #CAC671 #DAD89D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8B345#FFFFFF#000000##000000
##B8B3451.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)
#C1AD38
Deuteranopia (green-blind)
#C4B14C
Tritanopia (blue-blind)
#C5A89C
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b8b345;
/* rgb */ color: rgb(184, 179, 69);
/* oklch */ color: oklch(75.0% 0.131 106.7);
Tailwind
colors: {
  custom: {
    50: '#d0c97e',
    500: '#b8b345',
    950: '#000000',
  },
}
SCSS
$custom: #b8b345;
$custom-light: #d0c97e;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b345",
  "rgb": {
    "r": 184,
    "g": 179,
    "b": 69
  },
  "hsl": {
    "h": 57.391,
    "s": 45.455,
    "l": 49.608
  },
  "oklch": {
    "l": 0.74983,
    "c": 0.13081,
    "h": 106.7
  },
  "luminance": 0.4286
}

Semantic roles & 50–950 ramp

primary
#B8B345
secondary
#9294C7
accent
#58D553
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B8B345

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

Preview Lab → · Contrast checker → · Palette generator →

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