#B8B92D#B8B92D

#B8B92D is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.1% C 0.153 H 110.0°. Best body text is #000000 at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#B8B92D
RGBrgb(184, 185, 45)
HSLhsl(60, 61%, 45%)
HSVhsv(60, 76%, 73%)
CMYKcmyk(0.5%, 0%, 75.7%, 27.5%)
CIE-LABlab(72.94, -16.36, 65.58)
CIE-LCHlch(72.94, 67.59, 104.01°)
OKLaboklab(76.11% -0.0521 0.1436)
OKLCHoklch(76.11% 0.153 110)
XYZxyz(37.5912, 45.0788, 9.2030)
Luminance0.4508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B92D #2E2DB9
analogous
#B9742D #B8B92D #72B92D
triadic
#B8B92D #2DB8B9 #B92DB8
tetradic
#B8B92D #2DB974 #2E2DB9 #B92D72
square
#B8B92D #2DB974 #2E2DB9 #B92D72
split-complementary
#B8B92D #2D72B9 #742DB9
monochromatic
#565715 #878821 #B8B92D #D3D44F #DFE080

Accessibility & contrast

On white

2.10
#B8B92D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.02
#B8B92D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B92D
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B92D#FFFFFF#000000##000000
##B8B92D1.002.1010.0210.02
#FFFFFF2.101.0021.0021.00
#00000010.0221.001.001.00
##00000010.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B108
Deuteranopia (green-blind)
#CAB539
Tritanopia (blue-blind)
#C5AD9F
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b8b92d;
/* rgb */ color: rgb(184, 185, 45);
/* oklch */ color: oklch(76.1% 0.153 110.0);
Tailwind
colors: {
  custom: {
    50: '#d1cd71',
    500: '#b8b92d',
    950: '#000000',
  },
}
SCSS
$custom: #b8b92d;
$custom-light: #d1cd71;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b92d",
  "rgb": {
    "r": 184,
    "g": 185,
    "b": 45
  },
  "hsl": {
    "h": 60.429,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.76115,
    "c": 0.15273,
    "h": 110
  },
  "luminance": 0.45078
}

Semantic roles & 50–950 ramp

primary
#B8B92D
secondary
#7979C9
accent
#44E445
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B8B92D

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

Preview Lab → · Contrast checker → · Palette generator →

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