#B8B82D#B8B82D

#B8B82D is a light, vivid yellow. Relative luminance 0.447; OKLCH L 75.9% C 0.152 H 109.5°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#B8B82D
RGBrgb(184, 184, 45)
HSLhsl(60, 61%, 45%)
HSVhsv(60, 76%, 72%)
CMYKcmyk(0%, 0%, 75.5%, 27.8%)
CIE-LABlab(72.67, -15.86, 65.33)
CIE-LCHlch(72.67, 67.22, 103.64°)
OKLaboklab(75.9% -0.0507 0.143)
OKLCHoklch(75.9% 0.152 109.5)
XYZxyz(37.3827, 44.6619, 9.1335)
Luminance0.4466 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B82D #2D2DB8
analogous
#B8732D #B8B82D #73B82D
triadic
#B8B82D #2DB8B8 #B82DB8
tetradic
#B8B82D #2DB873 #2D2DB8 #B82D73
square
#B8B82D #2DB873 #2D2DB8 #B82D73
split-complementary
#B8B82D #2D73B8 #732DB8
monochromatic
#565615 #878721 #B8B82D #D4D44E #E0E080

Accessibility & contrast

On white

2.11
#B8B82D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.93
#B8B82D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B82D
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B82D#FFFFFF#000000##000000
##B8B82D1.002.119.939.93
#FFFFFF2.111.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B009
Deuteranopia (green-blind)
#C9B439
Tritanopia (blue-blind)
#C5AC9E
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b8b82d;
/* rgb */ color: rgb(184, 184, 45);
/* oklch */ color: oklch(75.9% 0.152 109.5);
Tailwind
colors: {
  custom: {
    50: '#d1cd71',
    500: '#b8b82d',
    950: '#000000',
  },
}
SCSS
$custom: #b8b82d;
$custom-light: #d1cd71;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b82d",
  "rgb": {
    "r": 184,
    "g": 184,
    "b": 45
  },
  "hsl": {
    "h": 60,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.75895,
    "c": 0.15174,
    "h": 109.5
  },
  "luminance": 0.44661
}

Semantic roles & 50–950 ramp

primary
#B8B82D
secondary
#7878C9
accent
#44E444
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B8B82D

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

Preview Lab → · Contrast checker → · Palette generator →

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