#B8B82C#B8B82C

#B8B82C 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#B8B82C
RGBrgb(184, 184, 44)
HSLhsl(60, 61%, 45%)
HSVhsv(60, 76%, 72%)
CMYKcmyk(0%, 0%, 76.1%, 27.8%)
CIE-LABlab(72.66, -15.90, 65.64)
CIE-LCHlch(72.66, 67.54, 103.61°)
OKLaboklab(75.89% -0.0509 0.1435)
OKLCHoklch(75.89% 0.152 109.5)
XYZxyz(37.3637, 44.6543, 9.0333)
Luminance0.4465 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B82C #2C2CB8
analogous
#B8722C #B8B82C #72B82C
triadic
#B8B82C #2CB8B8 #B82CB8
tetradic
#B8B82C #2CB872 #2C2CB8 #B82C72
square
#B8B82C #2CB872 #2C2CB8 #B82C72
split-complementary
#B8B82C #2C72B8 #722CB8
monochromatic
#555514 #878720 #B8B82C #D4D44D #E0E07E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8B82C#FFFFFF#000000##000000
##B8B82C1.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)
#C7B005
Deuteranopia (green-blind)
#C9B438
Tritanopia (blue-blind)
#C5AC9E
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b8b82c;
/* rgb */ color: rgb(184, 184, 44);
/* oklch */ color: oklch(75.9% 0.152 109.5);
Tailwind
colors: {
  custom: {
    50: '#d1cd71',
    500: '#b8b82c',
    950: '#000000',
  },
}
SCSS
$custom: #b8b82c;
$custom-light: #d1cd71;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b82c",
  "rgb": {
    "r": 184,
    "g": 184,
    "b": 44
  },
  "hsl": {
    "h": 60,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.75889,
    "c": 0.15227,
    "h": 109.5
  },
  "luminance": 0.44653
}

Semantic roles & 50–950 ramp

primary
#B8B82C
secondary
#7777C9
accent
#43E543
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B8B82C

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

Preview Lab → · Contrast checker → · Palette generator →

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