#B8B92C#B8B92C

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

Color values

HEX#B8B92C
RGBrgb(184, 185, 44)
HSLhsl(60, 62%, 45%)
HSVhsv(60, 76%, 73%)
CMYKcmyk(0.5%, 0%, 76.2%, 27.5%)
CIE-LABlab(72.94, -16.40, 65.89)
CIE-LCHlch(72.94, 67.90, 103.98°)
OKLaboklab(76.11% -0.0523 0.144)
OKLCHoklch(76.11% 0.153 110)
XYZxyz(37.5721, 45.0712, 9.1028)
Luminance0.4507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B92C #2D2CB9
analogous
#B9742C #B8B92C #71B92C
triadic
#B8B92C #2CB8B9 #B92CB8
tetradic
#B8B92C #2CB974 #2D2CB9 #B92C71
square
#B8B92C #2CB974 #2D2CB9 #B92C71
split-complementary
#B8B92C #2C71B9 #742CB9
monochromatic
#565614 #878820 #B8B92C #D4D54D #E0E17F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8B92C#FFFFFF#000000##000000
##B8B92C1.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)
#C8B104
Deuteranopia (green-blind)
#CAB538
Tritanopia (blue-blind)
#C5AD9F
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b8b92c;
/* rgb */ color: rgb(184, 185, 44);
/* oklch */ color: oklch(76.1% 0.153 110.0);
Tailwind
colors: {
  custom: {
    50: '#d1cd71',
    500: '#b8b92c',
    950: '#000000',
  },
}
SCSS
$custom: #b8b92c;
$custom-light: #d1cd71;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b92c",
  "rgb": {
    "r": 184,
    "g": 185,
    "b": 44
  },
  "hsl": {
    "h": 60.426,
    "s": 61.572,
    "l": 44.902
  },
  "oklch": {
    "l": 0.76109,
    "c": 0.15324,
    "h": 110
  },
  "luminance": 0.4507
}

Semantic roles & 50–950 ramp

primary
#B8B92C
secondary
#7878C9
accent
#43E544
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B8B92C

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

Preview Lab → · Contrast checker → · Palette generator →

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