#B8B045#B8B045

#B8B045 is a light, vivid yellow. Relative luminance 0.417; OKLCH L 74.3% C 0.128 H 105.0°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#B8B045
RGBrgb(184, 176, 69)
HSLhsl(56, 45%, 50%)
HSVhsv(56, 63%, 72%)
CMYKcmyk(0%, 4.3%, 62.5%, 27.8%)
CIE-LABlab(70.64, -10.47, 54.15)
CIE-LCHlch(70.64, 55.15, 100.95°)
OKLaboklab(74.33% -0.0331 0.1234)
OKLCHoklch(74.33% 0.128 105)
XYZxyz(36.3680, 41.6720, 11.7569)
Luminance0.4167 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B045 #454DB8
analogous
#B87745 #B8B045 #87B845
triadic
#B8B045 #45B8B0 #B045B8
tetradic
#B8B045 #45B877 #454DB8 #B84587
square
#B8B045 #45B877 #454DB8 #B84587
split-complementary
#B8B045 #4587B8 #7745B8
monochromatic
#5F5B24 #8B8534 #B8B045 #CAC371 #DAD69D

Accessibility & contrast

On white

2.25
#B8B045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.33
#B8B045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B045
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B045#FFFFFF#000000##000000
##B8B0451.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA38
Deuteranopia (green-blind)
#C1AF4B
Tritanopia (blue-blind)
#C5A599
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b8b045;
/* rgb */ color: rgb(184, 176, 69);
/* oklch */ color: oklch(74.3% 0.128 105.0);
Tailwind
colors: {
  custom: {
    50: '#d0c77d',
    500: '#b8b045',
    950: '#000000',
  },
}
SCSS
$custom: #b8b045;
$custom-light: #d0c77d;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b045",
  "rgb": {
    "r": 184,
    "g": 176,
    "b": 69
  },
  "hsl": {
    "h": 55.826,
    "s": 45.455,
    "l": 49.608
  },
  "oklch": {
    "l": 0.74333,
    "c": 0.12781,
    "h": 105
  },
  "luminance": 0.41671
}

Semantic roles & 50–950 ramp

primary
#B8B045
secondary
#9296C7
accent
#5CD553
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B8B045

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

Preview Lab → · Contrast checker → · Palette generator →

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