#B9B93B#B9B93B

#B9B93B is a light, vivid yellow. Relative luminance 0.453; OKLCH L 76.3% C 0.144 H 109.4°. Best body text is #000000 at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#B9B93B
RGBrgb(185, 185, 59)
HSLhsl(60, 52%, 48%)
HSVhsv(60, 68%, 73%)
CMYKcmyk(0%, 0%, 68.1%, 27.5%)
CIE-LABlab(73.11, -15.27, 60.84)
CIE-LCHlch(73.11, 62.72, 104.09°)
OKLaboklab(76.29% -0.0478 0.136)
OKLCHoklch(76.29% 0.144 109.4)
XYZxyz(38.1473, 45.3291, 10.8767)
Luminance0.4533 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B93B #3B3BB9
analogous
#B97A3B #B9B93B #7AB93B
triadic
#B9B93B #3BB9B9 #B93BB9
tetradic
#B9B93B #3BB97A #3B3BB9 #B93B7A
square
#B9B93B #3BB97A #3B3BB9 #B93B7A
split-complementary
#B9B93B #3B7AB9 #7A3BB9
monochromatic
#5C5C1D #8B8B2C #B9B93B #CDCD64 #DCDC92

Accessibility & contrast

On white

2.09
#B9B93B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.07
#B9B93B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B93B
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B93B#FFFFFF#000000##000000
##B9B93B1.002.0910.0710.07
#FFFFFF2.091.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B128
Deuteranopia (green-blind)
#C9B544
Tritanopia (blue-blind)
#C6ADA0
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b9b93b;
/* rgb */ color: rgb(185, 185, 59);
/* oklch */ color: oklch(76.3% 0.144 109.4);
Tailwind
colors: {
  custom: {
    50: '#d1cd79',
    500: '#b9b93b',
    950: '#000000',
  },
}
SCSS
$custom: #b9b93b;
$custom-light: #d1cd79;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b93b",
  "rgb": {
    "r": 185,
    "g": 185,
    "b": 59
  },
  "hsl": {
    "h": 60,
    "s": 51.639,
    "l": 47.843
  },
  "oklch": {
    "l": 0.76292,
    "c": 0.14412,
    "h": 109.4
  },
  "luminance": 0.45328
}

Semantic roles & 50–950 ramp

primary
#B9B93B
secondary
#8888C7
accent
#4DDB4D
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B9B93B

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

Preview Lab → · Contrast checker → · Palette generator →

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