#B9B73C#B9B73C

#B9B73C is a light, vivid yellow. Relative luminance 0.445; OKLCH L 75.9% C 0.141 H 108.4°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#B9B73C
RGBrgb(185, 183, 60)
HSLhsl(59, 51%, 48%)
HSVhsv(59, 68%, 73%)
CMYKcmyk(0%, 1.1%, 67.6%, 27.5%)
CIE-LABlab(72.57, -14.20, 59.90)
CIE-LCHlch(72.57, 61.56, 103.33°)
OKLaboklab(75.86% -0.0447 0.1342)
OKLCHoklch(75.86% 0.141 108.4)
XYZxyz(37.7580, 44.5087, 10.8762)
Luminance0.4451 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B73C #3C3EB9
analogous
#B9783C #B9B73C #7CB93C
triadic
#B9B73C #3CB9B7 #B73CB9
tetradic
#B9B73C #3CB978 #3C3EB9 #B93C7C
square
#B9B73C #3CB978 #3C3EB9 #B93C7C
split-complementary
#B9B73C #3C7CB9 #783CB9
monochromatic
#5D5C1E #8B892D #B9B73C #CDCB65 #DCDB93

Accessibility & contrast

On white

2.12
#B9B73C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.90
#B9B73C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B73C
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B73C#FFFFFF#000000##000000
##B9B73C1.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B02A
Deuteranopia (green-blind)
#C8B444
Tritanopia (blue-blind)
#C6AB9E
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b9b73c;
/* rgb */ color: rgb(185, 183, 60);
/* oklch */ color: oklch(75.9% 0.141 108.4);
Tailwind
colors: {
  custom: {
    50: '#d1cc79',
    500: '#b9b73c',
    950: '#000000',
  },
}
SCSS
$custom: #b9b73c;
$custom-light: #d1cc79;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b73c",
  "rgb": {
    "r": 185,
    "g": 183,
    "b": 60
  },
  "hsl": {
    "h": 59.04,
    "s": 51.02,
    "l": 48.039
  },
  "oklch": {
    "l": 0.75863,
    "c": 0.14141,
    "h": 108.4
  },
  "luminance": 0.44508
}

Semantic roles & 50–950 ramp

primary
#B9B73C
secondary
#898AC7
accent
#50DA4D
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B9B73C

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

Preview Lab → · Contrast checker → · Palette generator →

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