#B8B445#B8B445

#B8B445 is a light, vivid yellow. Relative luminance 0.433; OKLCH L 75.2% C 0.132 H 107.2°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#B8B445
RGBrgb(184, 180, 69)
HSLhsl(58, 45%, 50%)
HSVhsv(58, 63%, 72%)
CMYKcmyk(0%, 2.2%, 62.5%, 27.8%)
CIE-LABlab(71.73, -12.54, 55.32)
CIE-LCHlch(71.73, 56.72, 102.77°)
OKLaboklab(75.2% -0.039 0.1259)
OKLCHoklch(75.2% 0.132 107.2)
XYZxyz(37.1638, 43.2637, 12.0221)
Luminance0.4326 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B445 #4549B8
analogous
#B87B45 #B8B445 #83B845
triadic
#B8B445 #45B8B4 #B445B8
tetradic
#B8B445 #45B87B #4549B8 #B84583
square
#B8B445 #45B87B #4549B8 #B84583
split-complementary
#B8B445 #4583B8 #7B45B8
monochromatic
#5F5D24 #8B8834 #B8B445 #CAC771 #DAD89D

Accessibility & contrast

On white

2.18
#B8B445 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.65
#B8B445 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B445
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B445#FFFFFF#000000##000000
##B8B4451.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD37
Deuteranopia (green-blind)
#C5B24C
Tritanopia (blue-blind)
#C5A99D
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b8b445;
/* rgb */ color: rgb(184, 180, 69);
/* oklch */ color: oklch(75.2% 0.132 107.2);
Tailwind
colors: {
  custom: {
    50: '#d0ca7e',
    500: '#b8b445',
    950: '#000000',
  },
}
SCSS
$custom: #b8b445;
$custom-light: #d0ca7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b445",
  "rgb": {
    "r": 184,
    "g": 180,
    "b": 69
  },
  "hsl": {
    "h": 57.913,
    "s": 45.455,
    "l": 49.608
  },
  "oklch": {
    "l": 0.752,
    "c": 0.13181,
    "h": 107.2
  },
  "luminance": 0.43263
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B8B445

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

Preview Lab → · Contrast checker → · Palette generator →

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