#B8B82E#B8B82E

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

Color values

HEX#B8B82E
RGBrgb(184, 184, 46)
HSLhsl(60, 60%, 45%)
HSVhsv(60, 75%, 72%)
CMYKcmyk(0%, 0%, 75%, 27.8%)
CIE-LABlab(72.67, -15.81, 65.01)
CIE-LCHlch(72.67, 66.91, 103.67°)
OKLaboklab(75.9% -0.0505 0.1425)
OKLCHoklch(75.9% 0.151 109.5)
XYZxyz(37.4022, 44.6697, 9.2361)
Luminance0.4467 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B82E #2E2EB8
analogous
#B8732E #B8B82E #73B82E
triadic
#B8B82E #2EB8B8 #B82EB8
tetradic
#B8B82E #2EB873 #2E2EB8 #B82E73
square
#B8B82E #2EB873 #2E2EB8 #B82E73
split-complementary
#B8B82E #2E73B8 #732EB8
monochromatic
#565616 #878722 #B8B82E #D3D350 #DFDF81

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8B82E#FFFFFF#000000##000000
##B8B82E1.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)
#C7B00C
Deuteranopia (green-blind)
#C9B439
Tritanopia (blue-blind)
#C5AC9E
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b8b82e;
/* rgb */ color: rgb(184, 184, 46);
/* oklch */ color: oklch(75.9% 0.151 109.5);
Tailwind
colors: {
  custom: {
    50: '#d1cd72',
    500: '#b8b82e',
    950: '#000000',
  },
}
SCSS
$custom: #b8b82e;
$custom-light: #d1cd72;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b82e",
  "rgb": {
    "r": 184,
    "g": 184,
    "b": 46
  },
  "hsl": {
    "h": 60,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.75901,
    "c": 0.15121,
    "h": 109.5
  },
  "luminance": 0.44669
}

Semantic roles & 50–950 ramp

primary
#B8B82E
secondary
#7979C8
accent
#45E345
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B8B82E

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

Preview Lab → · Contrast checker → · Palette generator →

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