#B8B82F#B8B82F

#B8B82F 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.94:1 contrast (WCAG AA passes).

Color values

HEX#B8B82F
RGBrgb(184, 184, 47)
HSLhsl(60, 59%, 45%)
HSVhsv(60, 74%, 72%)
CMYKcmyk(0%, 0%, 74.5%, 27.8%)
CIE-LABlab(72.68, -15.77, 64.69)
CIE-LCHlch(72.68, 66.58, 103.70°)
OKLaboklab(75.91% -0.0503 0.142)
OKLCHoklch(75.91% 0.151 109.5)
XYZxyz(37.4221, 44.6777, 9.3412)
Luminance0.4468 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B82F #2F2FB8
analogous
#B8732F #B8B82F #73B82F
triadic
#B8B82F #2FB8B8 #B82FB8
tetradic
#B8B82F #2FB873 #2F2FB8 #B82F73
square
#B8B82F #2FB873 #2F2FB8 #B82F73
split-complementary
#B8B82F #2F73B8 #732FB8
monochromatic
#575716 #878723 #B8B82F #D3D352 #DFDF82

Accessibility & contrast

On white

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

On black

9.94
#B8B82F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B82F
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B82F#FFFFFF#000000##000000
##B8B82F1.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8b82f;
/* rgb */ color: rgb(184, 184, 47);
/* oklch */ color: oklch(75.9% 0.151 109.5);
Tailwind
colors: {
  custom: {
    50: '#d1cd72',
    500: '#b8b82f',
    950: '#000000',
  },
}
SCSS
$custom: #b8b82f;
$custom-light: #d1cd72;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b82f",
  "rgb": {
    "r": 184,
    "g": 184,
    "b": 47
  },
  "hsl": {
    "h": 60,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.75906,
    "c": 0.15067,
    "h": 109.5
  },
  "luminance": 0.44677
}

Semantic roles & 50–950 ramp

primary
#B8B82F
secondary
#7B7BC8
accent
#45E245
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B8B82F

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

Preview Lab → · Contrast checker → · Palette generator →

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