#B8B92A#B8B92A

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

Color values

HEX#B8B92A
RGBrgb(184, 185, 42)
HSLhsl(60, 63%, 45%)
HSVhsv(60, 77%, 73%)
CMYKcmyk(0.5%, 0%, 77.3%, 27.5%)
CIE-LABlab(72.93, -16.48, 66.50)
CIE-LCHlch(72.93, 68.51, 103.92°)
OKLaboklab(76.1% -0.0527 0.145)
OKLCHoklch(76.1% 0.154 110)
XYZxyz(37.5354, 45.0566, 8.9096)
Luminance0.4506 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B92A #2B2AB9
analogous
#B9732A #B8B92A #70B92A
triadic
#B8B92A #2AB8B9 #B92AB8
tetradic
#B8B92A #2AB973 #2B2AB9 #B92A70
square
#B8B92A #2AB973 #2B2AB9 #B92A70
split-complementary
#B8B92A #2A70B9 #732AB9
monochromatic
#555513 #86871F #B8B92A #D5D64A #E1E17C

Accessibility & contrast

On white

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

On black

10.01
#B8B92A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B92A
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B92A#FFFFFF#000000##000000
##B8B92A1.002.1010.0110.01
#FFFFFF2.101.0021.0021.00
#00000010.0121.001.001.00
##00000010.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8b92a;
/* rgb */ color: rgb(184, 185, 42);
/* oklch */ color: oklch(76.1% 0.154 110.0);
Tailwind
colors: {
  custom: {
    50: '#d1cd70',
    500: '#b8b92a',
    950: '#000000',
  },
}
SCSS
$custom: #b8b92a;
$custom-light: #d1cd70;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b92a",
  "rgb": {
    "r": 184,
    "g": 185,
    "b": 42
  },
  "hsl": {
    "h": 60.42,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.76098,
    "c": 0.15425,
    "h": 110
  },
  "luminance": 0.45055
}

Semantic roles & 50–950 ramp

primary
#B8B92A
secondary
#7675CA
accent
#42E643
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B8B92A

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

Preview Lab → · Contrast checker → · Palette generator →

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