#B8B645#B8B645

#B8B645 is a light, vivid yellow. Relative luminance 0.441; OKLCH L 75.6% C 0.134 H 108.2°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#B8B645
RGBrgb(184, 182, 69)
HSLhsl(59, 45%, 50%)
HSVhsv(59, 63%, 72%)
CMYKcmyk(0%, 1.1%, 62.5%, 27.8%)
CIE-LABlab(72.28, -13.57, 55.90)
CIE-LCHlch(72.28, 57.52, 103.64°)
OKLaboklab(75.63% -0.0419 0.1272)
OKLCHoklch(75.63% 0.134 108.2)
XYZxyz(37.5705, 44.0770, 12.1577)
Luminance0.4408 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B645 #4547B8
analogous
#B87D45 #B8B645 #80B845
triadic
#B8B645 #45B8B6 #B645B8
tetradic
#B8B645 #45B87D #4547B8 #B84580
square
#B8B645 #45B87D #4547B8 #B84580
split-complementary
#B8B645 #4580B8 #7D45B8
monochromatic
#5F5E24 #8B8A34 #B8B645 #CAC871 #DAD99D

Accessibility & contrast

On white

2.14
#B8B645 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.82
#B8B645 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B645
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B645#FFFFFF#000000##000000
##B8B6451.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF37
Deuteranopia (green-blind)
#C6B34C
Tritanopia (blue-blind)
#C5AB9E
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b8b645;
/* rgb */ color: rgb(184, 182, 69);
/* oklch */ color: oklch(75.6% 0.134 108.2);
Tailwind
colors: {
  custom: {
    50: '#d0cb7e',
    500: '#b8b645',
    950: '#000000',
  },
}
SCSS
$custom: #b8b645;
$custom-light: #d0cb7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b645",
  "rgb": {
    "r": 184,
    "g": 182,
    "b": 69
  },
  "hsl": {
    "h": 58.957,
    "s": 45.455,
    "l": 49.608
  },
  "oklch": {
    "l": 0.75635,
    "c": 0.13388,
    "h": 108.2
  },
  "luminance": 0.44076
}

Semantic roles & 50–950 ramp

primary
#B8B645
secondary
#9293C7
accent
#55D553
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B8B645

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

Preview Lab → · Contrast checker → · Palette generator →

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